terraform.aws-baseline-infra/modules/storage/s3-bucket-replication
2024-01-12 15:14:46 +08:00
..
main.tf UPD: added intelligent tiering and a couple other replication parameters to s3-bucket-replication module 2024-01-12 15:14:46 +08:00
outputs.tf NEW: s3 replication module 2024-01-12 13:49:50 +08:00
README.md NEW: s3 replication module 2024-01-12 13:49:50 +08:00
variables.tf NEW: s3 replication module 2024-01-12 13:49:50 +08:00
versions.tf NEW: s3 replication module 2024-01-12 13:49:50 +08:00

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.