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

Adding dashboard_lists value to datadog_dashboard_json resource does not trigger an update #2714

Open
Shocktrooper opened this issue Dec 10, 2024 · 0 comments
Labels

Comments

@Shocktrooper
Copy link

Datadog Terraform Provider Version

3.48.1

Terraform Version

1.9.0

What resources or data sources are affected?

  • datadog_dashboard_json resource
  • potentially datadog_dashboard resource although this is untested

Terraform Configuration Files

resource "datadog_dashboard_json" "metrics" {
  dashboard_lists = [12345678]
  dashboard       = <<EOF
{...}
EOF
}

resource "datadog_dashboard_json" "cost" {
  dashboard_lists = [987654]
  dashboard       = <<EOF
{...}
EOF
}

Relevant debug or panic output

N/A

Expected Behavior

Relevant dashboard lists should be updated to include defined dashboard

Actual Behavior

Terraform reports no changes to make and does not edit downstream lists dashboards should have been added to

Steps to Reproduce

  1. Define a datadog_dashboard_json resource without any lists to add dashboard to
  2. Add a new dashboard list to add dashboard to
  3. Run terraform apply
  4. Terraform reports no changes even though it currently does not exist in the list we want the dashboard added to

Important Factoids

No response

References

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

1 participant