This example demonstrates how to create an EFS to S3 replication scenario using the AWS DataSync module.
Name | Version |
---|---|
terraform | >= 0.14.0 |
aws | >= 3.72.0 |
awscc | >= 0.11.0 |
Name | Version |
---|---|
aws | 5.65.0 |
random | 3.6.2 |
Name | Source | Version |
---|---|---|
backup_tasks | ../../modules/datasync-task | n/a |
efs_location | ../../modules/datasync-locations | n/a |
s3_location | ../../modules/datasync-locations | n/a |
s3_log_delivery_bucket | terraform-aws-modules/s3-bucket/aws | >=3.5.0 |
source-bucket | terraform-aws-modules/s3-bucket/aws | >=3.5.0 |
vpc | terraform-aws-modules/vpc/aws | >=5.0.0 |
Name | Type |
---|---|
aws_efs_file_system.efs | resource |
aws_efs_mount_target.efs_subnet_mount_target | resource |
aws_kms_key.efs-kms | resource |
aws_kms_key.source-kms | resource |
aws_kms_key_policy.efs-kms-key-policy | resource |
aws_kms_key_policy.source-kms-key-policy | resource |
aws_s3_bucket_server_side_encryption_configuration.s3-log-bucket | resource |
aws_s3_bucket_server_side_encryption_configuration.source-bucket | resource |
aws_security_group.MyEfsSecurityGroup | resource |
random_pet.prefix | resource |
aws_availability_zones.available | data source |
aws_caller_identity.current | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
efs_security_group_egress_cidr_block | IPv4 CIDR block for egress traffic for EFS and Datasync security group | string |
"0.0.0.0/0" |
no |
region | The AWS region for this deployment | string |
"us-east-1" |
no |
subnet-count | Number of sunbets per VPC | number |
1 |
no |
vpc_cidr_block | VPC CIDR block for the creation of example VPC and subnets | string |
"10.0.0.0/16" |
no |
Name | Description |
---|---|
backup_tasks | Datasync Task ARN |
my_efs_locations | DataSync EFS Location ARN |
my_s3_locations | DataSync S3 Location ARN |