terraform-aws-cloudfront-s3-cdn
terraform-aws-cloudfront-s3-cdn copied to clipboard
feat: add origin-shield
what
- Add variables to enable the Origin Shield for the CloudFront distribution
why
- Using Origin Shield can help reduce the load on your origin.
references
- https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudfront_distribution#origin_shield
- Also implemented recently in other CF module: https://github.com/cloudposse/terraform-aws-cloudfront-cdn/pull/78
✅ Verified on my own stack that it works.
The automated tests however will likely only work once https://github.com/cloudposse/terraform-aws-cloudfront-s3-cdn/pull/208 has been merged since the AWS Provider is now explicitly checking for a value to be set for ssl_support_method.
This pull request is now in conflict. Could you fix it @syphernl? 🙏
/rebuild-readme
/test all
So @syphernl looks good, not requesting any changes but want to get @osterman and @Nuru's opinions on what I've identified.
@korenyoni I have changed the local into a var as @osterman suggested.
Thanks @syphernl —
@osterman please take another look. Deferring approval to you.
/test all
Hi @syphernl —
I've spoken to @Nuru who needs more time to be able to get a good look at this.
@korenyoni @Nuru Do you have any updates regarding this? Our project development is nearing completion and we'd like to enable the Origin Shield for this soon.
@korenyoni @Nuru Do you have any updates regarding this? Our project development is nearing completion and we'd like to enable the Origin Shield for this soon.
At the moment it's in @Nuru 's hands.
From @Nuru :
I had to put this on hold because of the AWS 4.0 upgrade.
I implemented the non-breaking-change portion of this in #247