Skip to content

v2.0.0

Choose a tag to compare

@howelse howelse released this 23 Sep 17:45
· 28 commits to develop since this release

What's New

  • Migrate to Cache Policy: Replaced deprecated CloudFront cache settings with aws_cloudfront_cache_policy for better flexibility and alignment with AWS recommendations
  • OAI to OAC Migration: Switched from Origin Access Identity (OAI) to Origin Access Control (OAC) for improved security and broader region support
  • Region-Specific S3 Endpoint: Updated CloudFront to use region-specific S3 bucket endpoints to prevent redirects and improve performance

Breaking Changes

  • OAI to OAC Migration: An active OAI can't be deleted until CloudFront is updated to use OAC

Upgrade

  1. Run terraform apply -target=aws_cloudfront_distribution.website to update CloudFront
  2. Apply the full configuration afterward to safely remove OAI