maxyermayank / terraform-s3-bucket-replication

AWS S3 Bucket Same Region Replication (SRR) using Terraform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

terraform-s3-bucket-replication

AWS S3 Bucket Same Region Replication (SRR) using Terraform

NOTES

Make sure to update terraform.tfvars file to configure variable per your needs. Do not use Access and Secret keys inline. Checkout Terraform documentation for proper approaches to use credentials.

Make sure to tighten our IAM ROLES for better security.

Configure Variables

Variable Example Value Description
region us-west-2 The AWS region to issue API requests in.
access_key AKIAIOSFODNN7EXAMPLE
secret_key wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY

Initialize Terraform

terraform init

Plan and predict changes

terraform plan

Create reproducible infrastructure

terraform apply

Verify Buckets are created

Verify Replication configuration on Source Buckets

Destroy deployed infrastructure

terraform destroy

Resources

About

AWS S3 Bucket Same Region Replication (SRR) using Terraform


Languages

Language:HCL 100.0%