Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New AWS region (ap-southeast-5) causes TF to keep applying changes if passed in excluded_regions #2548

Open
fatbasstard opened this issue Aug 30, 2024 · 1 comment
Labels

Comments

@fatbasstard
Copy link

fatbasstard commented Aug 30, 2024

Datadog Terraform Provider Version

v3.43.1

Terraform Version

v1.9.5

What resources or data sources are affected?

  • datadog_integration_aws

Terraform Configuration Files

locals {
  excluded_dd_regions = setsubtract(data.aws_regions.current.names, "us-east-1", "us-west-2")
}

data "aws_regions" "current" {
  all_regions = true
}

resource "datadog_integration_aws" "default" {
  excluded_regions                     = var.excluded_regions
}

Relevant debug or panic output

No response

Expected Behavior

Exclude ap-southeast-5 once and then TF doesn't give any changes anymore

Actual Behavior

TF Keeps trying to apply the exclude, but nothing changes since ap-southeast-5 is not available in DataDog itself

image

image

Steps to Reproduce

No response

Important Factoids

No response

References

No response

@wabit
Copy link

wabit commented Nov 11, 2024

I have noticed the same problem with multiple other regions, i agree if you try to exclude regions that are not in the datadog Console, it always finds a change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants