.. | ||
main.tf | ||
outputs.tf | ||
README.md | ||
variables.tf | ||
versions.tf |
Requirements
Name | Version |
---|---|
terraform | >= 1.3.0 |
aws | >= 5.0 |
Providers
Name | Version |
---|---|
aws | >= 5.0 |
random | n/a |
Modules
No modules.
Resources
Name | Type |
---|---|
aws_iam_role.replication-role | resource |
aws_iam_role_policy.role-policy | resource |
aws_s3_bucket_replication_configuration.replication-config | resource |
random_id.rid | resource |
aws_iam_policy_document.assume_role_policy | data source |
aws_iam_policy_document.replication-role-policy | data source |
aws_s3_bucket.destination-bucket | data source |
aws_s3_bucket.source-bucket | data source |
Inputs
Name | Description | Type | Default | Required |
---|---|---|---|---|
destination-bucket-account-id | Account id of destination bucket. | string |
"111122223333" |
no |
destination-bucket-encryption-key-arn | Encryption key arn for destination bucket | string |
n/a | yes |
destination-bucket-name | Name of destination bucket | string |
n/a | yes |
source-bucket-name | Name of source s3 bucket | string |
n/a | yes |
Outputs
Name | Description |
---|---|
replication-role-arn | n/a |
Authorship
This module was developed by xpk.