Error: Provider produced inconsistent final plan
│
│ When expanding the plan for
│ module.http_metrics_per_function["install-plugin"].datadog_metric_metadata.metric_description
│ to include new values learned so far during apply, provider
│ "registry.terraform.io/datadog/datadog" produced an invalid new value for
│ .metric: was cty.StringVal("orbiter.install-plugin.http.request"), but now
│ cty.StringVal("orbiter.install_plugin.http.request").
│
│ This is a bug in the provider, which should be reported in the provider's
│ own issue tracker.
Expected Behavior
The Terraform should have applied correctly with the name install-plugin rather than install_plugin
Datadog Terraform Provider Version
v3.39.0
Terraform Version
v1.7
What resources or data sources are affected?
datadog_metric_metadata.metric_description
Terraform Configuration Files
Relevant debug or panic output
Expected Behavior
The Terraform should have applied correctly with the name
install-plugin
rather thaninstall_plugin
Actual Behavior
The Terraform errored with the error given above.
Steps to Reproduce
No response
Important Factoids
No response
References
No response