Creates a replica of an EFS file system in the us-west-2b availability zone, encrypted with a specified KMS key.

Terraform Template

resource "aws_efs_file_system" "example" {
}

resource "aws_efs_replication_configuration" "example" {

  destination {
    availability_zone_name = "us-west-2b"
    kms_key_id = "1234abcd-12ab-34cd-56ef-1234567890ab"
  }
  source_file_system_id = aws_efs_file_system.example.id
}