hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.85k stars 9.2k forks source link

[Enhancement]: set is_ipv6_enabled true on cloudfront_distribution by default #39911

Open miyurusankalpa opened 3 weeks ago

miyurusankalpa commented 3 weeks ago

Description

On Oct 6, 2016, on AWS blog stated,

IPv6 will be enabled by default for all newly created Amazon CloudFront web distributions starting today.

https://aws.amazon.com/about-aws/whats-new/2016/10/ipv6-support-for-cloudfront-waf-and-s3-transfer-acceleration/

Can this be done on terraform as well to mirror what AWS does and set is_ipv6_enabled true on cloudfront_distribution by default.

https://github.com/hashicorp/terraform-provider-aws/blob/d1a4b9bd745dddd5a9eed2c607834d448d54aa3f/internal/service/cloudfront/distribution.go#L304-L308

Its 2024 and the there is more IPv6 usage and IPv6 only services by AWS now.

Affected Resource(s) and/or Data Source(s)

aws_cloudfront_distribution

Potential Terraform Configuration

No response

References

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudfront_distribution#is_ipv6_enabled

Would you like to implement a fix?

Yes

github-actions[bot] commented 3 weeks ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue

stefanfreitag commented 5 days ago

Hi all, looking into it.