You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
resource"datadog_dashboard_list""cdcst" {
name="Test DB list"dash_item {
type="custom_timeboard"dash_id=datadog_dashboard_json.apigee.id
}
dash_item {
type="custom_timeboard"dash_id=datadog_dashboard_json.ci-pipelines.id
}
}
resource"datadog_dashboard_json""apigee" { # this is a screenboard in factdashboard=file("${path.module}/dashboards.d/apigee.json")
}
resource"datadog_dashboard_json""ci-pipelines" {
dashboard=file("${path.module}/dashboards.d/ci-pipelines.json")
}
Expected Behavior
type parameter seems to be ignored (and this is reasonable as the DB code is taken from a JSON file generated by DD export)
I would expect the type parameter being optional, only required when really needed.
Actual Behavior
The dashboard list shows the real type of the dashboard (the one defined in the JSON), ignoring the value given in the typeparameter.
Steps to Reproduce
terraform apply
The text was updated successfully, but these errors were encountered:
drAlberT
changed the title
datadog_dashboard_list->dash_item->type seems to be ignore when referencing datadog_dashboard_json resources
datadog_dashboard_list->dash_item->type is ignored when referencing datadog_dashboard_json resources
Jun 23, 2023
Terraform Version
1.2.0
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
Expected Behavior
type
parameter seems to be ignored (and this is reasonable as the DB code is taken from a JSON file generated by DD export)I would expect the
type
parameter being optional, only required when really needed.Actual Behavior
The dashboard list shows the real type of the dashboard (the one defined in the JSON), ignoring the value given in the
type
parameter.Steps to Reproduce
terraform apply
The text was updated successfully, but these errors were encountered: