Skip to content

Releases: terraform-aws-modules/terraform-aws-cloudfront

v6.0.0

29 Nov 18:00

Choose a tag to compare

6.0.0 (2025-11-29)

⚠ BREAKING CHANGES

  • Upgrade MSV of AWS provider to 6.20, remove support for origin access identities (#177)

See the docs/UPGRADE-6.0.md for further details

List of backwards incompatible changes

  • AWS provider v6.20 is now minimum supported version
  • Support for aws_cloudfront_origin_access_identity has been removed in favor of aws_cloudfront_origin_access_control

Additional changes

Added

  • None

Modified

  • Variable definitions now contain detailed object types in place of the previously used any type
  • is_ipv6_enabled now defaults to true if not specified
  • default_cache_behavior.compress and ordered_cache_behavior.compress now default to true
  • origin.origin_ssl_protocols now defaults to ["TLSv1.2"]
  • vpc_origin.origin_ssl_protocols.items now defaults to ["TLSv1.2"]
  • vpc_origin_timeouts is now embedded under vpc_origin
  • viewer_certificate.minimum_protocol_version now defaults to "TLSv1.2_2025"
  • See the the Before vs After examples below for more details on variable type definition changes

Variable and output changes

  1. Removed variables:

    • create_origin_access_identity
    • origin_access_identities
    • create_origin_access_control
    • create_vpc_origin
    • vpc_origin_timeouts - use timeouts block within vpc_origin variable instead
    • create_response_headers_policy
    • create_cloudfront_function
  2. Renamed variables:

    • create_distribution -> create
  3. Added variables:

    • anycast_ip_list_id
  4. Removed outputs:

    • cloudfront_vpc_origin_ids
    • cloudfront_origin_access_controls_ids
    • cloudfront_origin_access_identities
    • cloudfront_origin_access_identity_ids
    • cloudfront_origin_access_identity_iam_arns
    • cloudfront_distribution_tags
  5. Renamed outputs:

    • None
  6. Added outputs:

    • cloudfront_vpc_origins

v5.2.0

27 Nov 15:05

Choose a tag to compare

5.2.0 (2025-11-27)

Features

v5.1.0

27 Nov 14:39

Choose a tag to compare

5.1.0 (2025-11-27)

Features

  • Add cloudfront response header policy support (#174) (8488553)

v5.0.1

21 Oct 08:47

Choose a tag to compare

5.0.1 (2025-10-21)

Bug Fixes

  • Update CI workflow versions to latest (#172) (7f42384)

v5.0.0

06 Jul 17:39

Choose a tag to compare

5.0.0 (2025-07-06)

⚠ BREAKING CHANGES

  • Support specifying name for OAC and Terraform MSV 1.5.7 (#166)

Features

  • Support specifying name for OAC and Terraform MSV 1.5.7 (#166) (736ce3b)

v4.2.0

27 Jun 14:54

Choose a tag to compare

4.2.0 (2025-06-27)

Features

  • Add timeouts block for vpc origin resource (#165) (dac9b8a)

v4.1.0

21 Jan 16:33

Choose a tag to compare

4.1.0 (2025-01-21)

Features

  • Support grpc_config in default_cache_behavior and ordered_cache_behavior (#155) (7f176ff)

v4.0.0

22 Dec 14:40

Choose a tag to compare

4.0.0 (2024-12-22)

⚠ BREAKING CHANGES

  • Bump AWS provider version to 5.82, added VPC Origin support (#153)

Features

  • Bump AWS provider version to 5.82, added VPC Origin support (#153) (9ff6c63)

v3.4.1

11 Oct 16:00

Choose a tag to compare

3.4.1 (2024-10-11)

Bug Fixes

  • Update CI workflow versions to latest (#149) (b2f4809)

v3.4.0

15 Mar 12:52

Choose a tag to compare

3.4.0 (2024-03-15)

Features

  • Allow all policies to be specified by name or ID (#134) (fcd12c3)