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
A dashboard is created with a Monitor Summary widget which displays a count.
Actual Behavior
The Monitor Summary widget is created but reports No results found, but if I Edit Widgets and then enter the 2) Search (i.e. query) field and change anything it works. Note that all I need to do is delete a character and then enter the same one, and it will populate a digit, so it's not that my query is wrong.
Steps to Reproduce
terraform apply
Important Factoids
Works fine using the API directly to create the same thing, with this request body:
Same problem here! There was a deprecation in #403 of two parameters count and start. And it looks like the count parameter is still needed somehow. Just change your resource definition to
Hi, thanks for the issue report! I can reproduce this. The issue seems to be that the due to a quirk in the Terraform SDK, an integer value inside a nested map is always seen internally as 0 even if the field is not specified in the TF config at all.
It seems that the easiest solution that we can do is set a default value for count to 50 (which is basically what the web UI does). I'm discussing this with the monitors team to verify that this is the correct approach. If so, it should be easy to fix.
Terraform Version
Terraform 0.12.21
Datadog provider 2.7.0
Affected Resource(s)
Terraform Configuration Files
Debug Output
https://gist.github.com/0x646e78/186c519f53a9fd33cfbd7d75ddea7152
Panic Output
n/a
Expected Behavior
A dashboard is created with a Monitor Summary widget which displays a count.
Actual Behavior
The Monitor Summary widget is created but reports No results found, but if I Edit Widgets and then enter the 2) Search (i.e. query) field and change anything it works. Note that all I need to do is delete a character and then enter the same one, and it will populate a digit, so it's not that my query is wrong.
Steps to Reproduce
terraform apply
Important Factoids
Works fine using the API directly to create the same thing, with this request body:
https://docs.datadoghq.com/api/?lang=bash#create-a-dashboard
References
Not that I know of.
The text was updated successfully, but these errors were encountered: