Skip to content

0.15.0 Set appropriate AWS ARN for S3 bucket policies in GovCloud

Compare
Choose a tag to compare
@maximmi maximmi released this 26 Mar 18:24
7a0f82a

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