github cloudposse/terraform-aws-tfstate-backend 0.15.0
0.15.0 Set appropriate AWS ARN for S3 bucket policies in GovCloud

latest releases: v1.5.0, v1.4.2, v1...
4 years ago

What

  • Parameterize the ARN prefix used for S3 bucket policies such that if we are deploying in an AWS GovCloud region, the ARN prefix is arn:aws-us-gov:s3. Otherwise, the ARN prefix is arn:aws:s3.

Why

  • These changes allow successful deployment in GovCloud (tested in us-gov-west-1). Prior to this change, attempting to deploy in GovCloud would fail with:
Error: Error putting S3 policy: MalformedPolicy: Policy has invalid resource status code: 400

References

Don't miss a new terraform-aws-tfstate-backend release

NewReleases is sending notifications on new releases.