-
Notifications
You must be signed in to change notification settings - Fork 393
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
datadog_api_key Error: Provider produced inconsistent result after apply #2847
Comments
Hello @mhmcdonald , Looking at the issue to reproduce and fix |
I tried 2 scenarios with terraform 1.5.7 :
For resource "datadog_api_key" "api-key" {
name = "my-new-key"
} I got an api key with Remote config activated in both scenario and I don't achieve to get your error. What is your scenario ? About the default value, with specifying the default value at True, it should not be a breaking change. |
Hello, Same is happening to me:
With the config: resource "datadog_api_key" "example" {
for_each = var.examples
name = each.key
remote_config_read_enabled = true # same happens when I remove this
} Version: It worked when updating existing resources but is failing when creating new ones. |
I tested :
and the 3 resources are properly created with terraform 1.5.7 / provider 3.55.0 when tested against some of our test organisations . |
Fix : #2857 |
Fix is released in 3.56.0. Without additional elements, this PR will be closed in one week |
Datadog Terraform Provider Version
v.3.55.0
Terraform Version
v1.5.7
What resources or data sources are affected?
datadog_api_key
Terraform Configuration Files
Relevant debug or panic output
With version 3.55.0 that was just published, I'm running into the following error when trying to deploy a new
datadog_api_key
resource.I see that the docs say:
Warning : default value is true for backwards compatibility Defaults to true.
Should this be part of a major version release?Expected Behavior
deploys a new
datadog_api_key
Actual Behavior
The apply fails.
Steps to Reproduce
terraform apply
Important Factoids
No response
References
#2831
The text was updated successfully, but these errors were encountered: