Skip to content

0.23.0 Make it optional to override the origin s3 policy

Choose a tag to compare

@maximmi maximmi released this 25 Feb 21:31
493d99d

what

  • Make it optional to override the origin s3 policy

why

  • When specifying var.origin_bucket, it can be nice to leave the existing bucket's policy as is. For example, when manage an s3 bucket that multiple CloudFront dists use as their origin (without paths, they just use the same code). In this case, we may not want to restrict the bucket to only talk to a single CF dist, as this module does by default.