Releases: cullancarey/terraform-aws-static-s3-website-template
Cloudfront Origin Access Control Update
Hello, I changed the CloudFront origin access config in this release from using an origin access identity to using the new origin access control. This update will not deploy without a few steps first. On the initial deployment, Terraform will fail saying the Origin Access Identity is still in use. That is fine and will not disrupt anything. Follow the steps below to complete the update in this release.
- Deploy Terraform with the updated Cloudfront origin access configuration.
- Log into your AWS account and go to Cloudfront.
- Change the origin access config from an identity to the access control option.
- Select the newly created access control policy. MAKE THIS UPDATE FOR ALL ORIGINS CONFIGURED FOR THE DISTRIBUTION
- Re-deploy the Terraform.
Terraform should deploy successfully after changing the access control configuration of your distribution. Please create an issue if this does not work as expected. I did this with my own implementation, and it worked successfully for me.
Release 1.2!
In this release a few things were added:
default_tags variable
cloudfront_viewer_protocol_policy variable
Added a "create before destroy" equal to true lifecycle policy on the ACM certificate
Cloudfront Cache Policy Update
Updated cloudfront.tf to use the Managed-CachingOptimized policy.
v1.1.3
updated cloudfront to use Managed cache optimized policy
v1.1.2
updated readme
v1.1.1
removed uncessary variable
OAI integration
v1.1.0 updated to use OAI from cloudfront. Removed need for lambda
v1.0.9
Merge branch 'main' of https://github.com/cullancarey/static-s3-websi…
v1.0.8: Merge pull request #1 from cullancarey/add-license-1
Create LICENSE
v1.0.7
added lambda environment variable for cloudfront distribution id