We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Have a question? Please check out our Slack Community or visit our Slack Archive.
Adding missing EFS Terraform resources:
resource "aws_efs_file_system" "fs" { creation_token = "my-product" } resource "aws_efs_file_system_policy" "policy" { file_system_id = aws_efs_file_system.fs.id bypass_policy_lockout_safety_check = true policy = <<POLICY { "Version": "2012-10-17", "Id": "ExamplePolicy01", "Statement": [ { "Sid": "ExampleStatement01", "Effect": "Allow", "Principal": { "AWS": "*" }, "Resource": "${aws_efs_file_system.test.arn}", "Action": [ "elasticfilesystem:ClientMount", "elasticfilesystem:ClientWrite" ], "Condition": { "Bool": { "aws:SecureTransport": "true" } } } ] } POLICY } resource "aws_efs_replication_configuration" "example" { source_file_system_id = aws_efs_file_system.fs.id destination { region = "us-west-2" kms_key_id = "xxx" } }
also for the KMS key, if we used aws_kms_replica_key will allows to use the same key in DR regions:
aws_kms_replica_key
provider "aws" { alias = "primary" region = "us-east-1" } provider "aws" { region = "us-west-2" } resource "aws_kms_key" "primary" { provider = aws.primary description = "Multi-Region primary key" deletion_window_in_days = 30 multi_region = true } resource "aws_kms_replica_key" "replica" { description = "Multi-Region replica key" deletion_window_in_days = 7 primary_key_arn = aws_kms_key.primary.arn }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Have a question? Please check out our Slack Community or visit our Slack Archive.
Describe the Feature
Adding missing EFS Terraform resources:
Goals
Use Case
also for the KMS key, if we used
aws_kms_replica_key
will allows to use the same key in DR regions:The text was updated successfully, but these errors were encountered: