Releases: hyprnz/terraform-aws-s3-static-website-module
Origin update & Enables S3 Redirect
The CloudFront distribution now uses the S3 bucket website endpoint as the origin domain. this enables redirect the S3 features, which is now supported in this module. S3 redirect is enabled by setting the redirect_url
variable and overrides the index_document_default
variable
Update for Instant Refresh
Provides continuity of the default index document by using the variable for the order_cache_behavior block. Was previously hardcoded to index.html
Adds instance refresh of key deployment artifacts
Removes the ability to cache the index.hrml and config.json files in the CDN. This provides the website to update instantly when a new version has been released. This is implemented by adding an orderd_cache_behaviour
configuration for both the index.html and config.json files in the CloudFront distribution resource.
When updating a previous version of the module, the change will not take effect until the configuration has propagated to all edge instances, this takes ~15 mins. Once the change has been propagated, all further releases will be immediately available for browsing.
Updated Origin to use Regional Bucket Name
Using the regional bucket name for origin minimises the time for the CDN to become functional after applying a new instance of the module. S3 Regional DNS records are propagated faster than Global ones, as Global DNS records can take between 30-90 mins to propagate.
Added CloudFront Custom Errors Configuration
Dynamically adds the custom_error_response
block to enable support of React's client-side routing implementation
Module support for Terraform 0.12
All modules now support Terraform 0.12
Initial Module Release
Module release that supports Terraform 0.11