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

Error: object contains unparsed element: map[hide_incomplete_cost_data:true] #2827

Open
sharathone23 opened this issue Feb 11, 2025 · 0 comments
Labels

Comments

@sharathone23
Copy link

sharathone23 commented Feb 11, 2025

Datadog Terraform Provider Version

v3.54.0

Terraform Version

v1.10.5

What resources or data sources are affected?

datadog_dashboard

Terraform Configuration Files

terraform {
  required_providers {
    datadog = {
      source  = "DataDog/datadog"
      version = ">= 3.54.0"
    }
  }
}

import {
  to = datadog_dashboard.test_dashboard
  id = "xxx"
}

Relevant debug or panic output

No response

Expected Behavior

terraform plan -generate-config-out=generated.tf should generate the dashboard config

Actual Behavior

terraform plan -generate-config-out=generated.tf is throwing below error

2025-02-11T16:57:00.353-0600 [ERROR] provider.terraform-provider-datadog_v3.53.0: Response contains error diagnostic: diagnostic_detail="" diagnostic_summary="object contains unparsed element: map[hide_incomplete_cost_data:true]" tf_proto_version=5.3 @module=sdk.proto tf_provider_addr=registry.terraform.io/DataDog/datadog tf_req_id=c566f540-d5dd-2ec5-3cf1-411036701d0b tf_resource_type=datadog_dashboard tf_rpc=ReadResource @caller=github.com/hashicorp/[email protected]/tfprotov5/internal/diag/diagnostics.go:58 diagnostic_severity=ERROR timestamp=2025-02-11T16:57:00.318-0600
2025-02-11T16:57:00.356-0600 [ERROR] vertex "datadog_dashboard.checkout-conversionrate-anomalies" error: object contains unparsed element: map[hide_incomplete_cost_data:true]
2025-02-11T16:57:00.356-0600 [ERROR] vertex "datadog_dashboard.checkout-conversionrate-anomalies (expand)" error: object contains unparsed element: map[hide_incomplete_cost_data:true]
2025-02-11T16:57:00.365-0600 [WARN] Planning encountered errors, so plan is not applyable
2025-02-11T16:57:00.366-0600 [INFO] backend/local: plan operation completed

Steps to Reproduce

terraform plan -generate-config-out=generated.tf

Important Factoids

No response

References

No response

@sharathone23 sharathone23 changed the title object contains unparsed element: map[hide_incomplete_cost_data:true] Error: object contains unparsed element: map[hide_incomplete_cost_data:true] Feb 11, 2025
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