cloudposse / terraform-aws-tfstate-backend

Terraform module that provision an S3 bucket to store the `terraform.tfstate` file and a DynamoDB table to lock the state file to prevent concurrent modifications and state corruption.
https://cloudposse.com/accelerate
Apache License 2.0
408 stars 177 forks source link

Add China arn compatibility. Use arn_prefix var for determinate which… #41

Closed gloterman closed 4 years ago

gloterman commented 4 years ago

Add China arn compatibility. Use arn_prefix var for determinate which ARN to use

what

why

references

ericamador commented 4 years ago

I believe https://github.com/cloudposse/terraform-aws-tfstate-backend/pull/39 should now address this issue.

osterman commented 4 years ago

thanks @ericamador for the contribution. Yes #39 will replace this one as a generalied way to handle ARNs for any situation.

https://github.com/cloudposse/terraform-aws-tfstate-backend/pull/39