Skip to content

Releases: hyprnz/terraform-aws-s3-static-website-module

Origin update & Enables S3 Redirect

18 Nov 03:57
Compare
Choose a tag to compare

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

11 Aug 03:47
Compare
Choose a tag to compare

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

10 Aug 21:23
Compare
Choose a tag to compare

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

10 Aug 21:06
Compare
Choose a tag to compare

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

04 Mar 22:56
Compare
Choose a tag to compare

Dynamically adds the custom_error_response block to enable support of React's client-side routing implementation

Module support for Terraform 0.12

22 Jan 00:09
5694dff
Compare
Choose a tag to compare

All modules now support Terraform 0.12

Initial Module Release

21 Jan 06:02
Compare
Choose a tag to compare

Module release that supports Terraform 0.11