Skip to content

Conversation

tiagovmvieira
Copy link

@tiagovmvieira tiagovmvieira commented Aug 17, 2025

Description

Adds support for the anycast_ip_list_id parameter to the CloudFront distribution resource configuration. This parameter allows users to associate an anycast static IP list with their CloudFront distribution.

The new variable is optional with a default value of null, making it backwards compatible with existing configurations while enabling advanced networking capabilities when needed.

hashicorp/terraform-provider-aws#43196

Motivation and Context

This change addresses a critical blocking issue where Terraform updates to CloudFront distributions remove existing AnyCast IP lists that were configured outside of Terraform, causing significant traffic disruption.

Without this parameter support:

  • Users cannot use Terraform to manage CloudFront distributions that have AnyCast IP lists
  • Any Terraform update removes manually configured AnyCast lists, disrupting traffic
  • Organizations are forced to choose between Terraform management and AnyCast functionality

Breaking Changes

No breaking changes. The new anycast_ip_list_id variable defaults to null and is completely optional, maintaining full compatibility with existing implementations.

How Has This Been Tested?

  • I have updated at least one of the examples/* to demonstrate and validate my change(s)
  • I have tested and validated these changes using one or more of the provided examples/* projects
  • I have executed pre-commit run -a on my pull request

Copy link

This PR has been automatically marked as stale because it has been open 30 days
with no activity. Remove stale label or comment or this PR will be closed in 10 days

@github-actions github-actions bot added the stale label Sep 26, 2025
Copy link

github-actions bot commented Oct 7, 2025

This PR was automatically closed because of stale in 10 days

@github-actions github-actions bot closed this Oct 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants