You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have any questions regarding this upgrade process, please consult the [`examples`](https://github.com/terraform-aws-modules/terraform-aws-cloudfront/tree/master/examples) directory:
4
+
If you find a bug, please open an issue with supporting configuration to reproduce.
5
+
6
+
## List of backwards incompatible changes
7
+
8
+
- AWS provider `v6.20` is now minimum supported version
9
+
- Support for `aws_cloudfront_origin_access_identity` has been removed in favor of `aws_cloudfront_origin_access_control`
10
+
11
+
## Additional changes
12
+
13
+
### Added
14
+
15
+
- None
16
+
17
+
### Modified
18
+
19
+
- Variable definitions now contain detailed `object` types in place of the previously used any type
20
+
-`is_ipv6_enabled` now defaults to `true` if not specified
21
+
-`default_cache_behavior.compress` and `ordered_cache_behavior.compress` now default to `true`
22
+
-`origin.origin_ssl_protocols` now defaults to `["TLSv1.2"]`
23
+
-`vpc_origin.origin_ssl_protocols.items` now defaults to `["TLSv1.2"]`
24
+
-`vpc_origin_timeouts` is now embedded under `vpc_origin`
25
+
-`viewer_certificate.minimum_protocol_version` now defaults to `"TLSv1.2_2025"`
26
+
- See the the `Before vs After` examples below for more details on variable type definition changes
27
+
28
+
### Variable and output changes
29
+
30
+
1. Removed variables:
31
+
32
+
-`create_origin_access_identity`
33
+
-`origin_access_identities`
34
+
-`create_origin_access_control`
35
+
-`create_vpc_origin`
36
+
-`vpc_origin_timeouts` - use `timeouts` block within `vpc_origin` variable instead
|[aws_canonical_user_id.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/canonical_user_id)| data source |
68
54
|[aws_cloudfront_log_delivery_canonical_user_id.cloudfront](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/cloudfront_log_delivery_canonical_user_id)| data source |
69
55
|[aws_iam_policy_document.s3_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
@@ -87,8 +73,9 @@ No inputs.
87
73
| <aname="output_cloudfront_distribution_last_modified_time"></a> [cloudfront\_distribution\_last\_modified\_time](#output\_cloudfront\_distribution\_last\_modified\_time)| The date and time the distribution was last modified. |
88
74
| <aname="output_cloudfront_distribution_status"></a> [cloudfront\_distribution\_status](#output\_cloudfront\_distribution\_status)| The current status of the distribution. Deployed if the distribution's information is fully propagated throughout the Amazon CloudFront system. |
89
75
| <aname="output_cloudfront_distribution_trusted_signers"></a> [cloudfront\_distribution\_trusted\_signers](#output\_cloudfront\_distribution\_trusted\_signers)| List of nested attributes for active trusted signers, if the distribution is set up to serve private content with signed URLs |
90
-
| <aname="output_cloudfront_origin_access_identities"></a> [cloudfront\_origin\_access\_identities](#output\_cloudfront\_origin\_access\_identities)| The origin access identities created |
91
-
| <aname="output_cloudfront_origin_access_identity_iam_arns"></a> [cloudfront\_origin\_access\_identity\_iam\_arns](#output\_cloudfront\_origin\_access\_identity\_iam\_arns)| The IAM arns of the origin access identities created |
92
-
| <aname="output_cloudfront_origin_access_identity_ids"></a> [cloudfront\_origin\_access\_identity\_ids](#output\_cloudfront\_origin\_access\_identity\_ids)| The IDS of the origin access identities created |
93
-
| <aname="output_cloudfront_vpc_origin_ids"></a> [cloudfront\_vpc\_origin\_ids](#output\_cloudfront\_vpc\_origin\_ids)| The IDS of the VPC origin created |
76
+
| <aname="output_cloudfront_functions"></a> [cloudfront\_functions](#output\_cloudfront\_functions)| The CloudFront Functions created |
77
+
| <aname="output_cloudfront_monitoring_subscription_id"></a> [cloudfront\_monitoring\_subscription\_id](#output\_cloudfront\_monitoring\_subscription\_id)| The ID of the CloudFront monitoring subscription, which corresponds to the `distribution_id`. |
78
+
| <aname="output_cloudfront_origin_access_controls"></a> [cloudfront\_origin\_access\_controls](#output\_cloudfront\_origin\_access\_controls)| The origin access controls created |
79
+
| <aname="output_cloudfront_response_headers_policies"></a> [cloudfront\_response\_headers\_policies](#output\_cloudfront\_response\_headers\_policies)| The response headers policies created |
80
+
| <aname="output_cloudfront_vpc_origins"></a> [cloudfront\_vpc\_origins](#output\_cloudfront\_vpc\_origins)| The IDS of the VPC origin created |
0 commit comments