terraform-aws-cloudfront-s3-cdn
terraform-aws-cloudfront-s3-cdn copied to clipboard
Add support for origin-access-control
what
- add Origin Access Control feature
- add
var.origin_access_typeto enable Origin Access Identity or Origina Access Control policy - add
aws_cloudfront_origin_access_control.defaultresource - add
origin_access_control_idargument to origin config onaws_cloudfront_distribution.default
- add
- update example code
- update README
why
- provide the ability to make use of an Origin Access Control
- retain default origin access identity behavior
- AWS recommends using origin access control
- Origin Access Identities are flagged in AWS Security Hub
references
- Closes #244
- https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html
Just adding a positive review; I tried this branch myself in a project and it worked great. Thanks @rankin-tr !
/terratest
/terratest
/terratest
/terratest
/terratest
/terratest
/terratest
/terratest
/terratest
💥 This pull request now has conflicts. Could you fix it @rankin-tr? 🙏
This PR was closed due to inactivity and merge conflicts. 😭 Please resolve the conflicts and reopen if necessary.
@Nuru @dudymas
/terratest
These changes were released in v0.95.1.