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
The resource should create the widgets in the screenboard at the correct x and y coordinates on the screenboard grid.
Actual Behavior
Terraform seems to be swapping the x and y values for the screenboard widgets.
Steps to Reproduce
Create the main.tf with the content above.
Run terraform init to download the Datadog provider plugin.
Run terraform plan to verify the plan output.
Run terraform apply to apply the plan. Enter yes when prompted.
Note the values Terraform inserts for the x and y parameters for the widgets.
Note the ID of the screenboard.
Check the location of the widget in the Datadog web UI. Note how the widget is not at the proper x and y locations but instead at the swapped location.
Query the Datadog API using curl -X GET "https://api.datadoghq.com/api/v1/screen/${DATADOG_SCREENBOARD_ID}?api_key=${DATADOG_API_KEY}&application_key=${DATADOG_APP_KEY}"
Note how the x and y values queried from the API are swapped from what Terraform reported.
Important Factoids
I have tested this using curl and with the Datadog Python API client.
References
N/A
The text was updated successfully, but these errors were encountered:
Terraform Version
Affected Resource(s)
datadog_screenboard
Terraform Configuration Files
Debug Output
https://gist.github.com/sudomateo/65ff1e0d3fd20b7aa73abc04714e522f
Panic Output
N/A
Expected Behavior
The resource should create the widgets in the screenboard at the correct
x
andy
coordinates on the screenboard grid.Actual Behavior
Terraform seems to be swapping the
x
andy
values for the screenboard widgets.Steps to Reproduce
main.tf
with the content above.terraform init
to download the Datadog provider plugin.terraform plan
to verify the plan output.terraform apply
to apply the plan. Enteryes
when prompted.x
andy
parameters for the widgets.x
andy
locations but instead at the swapped location.curl -X GET "https://api.datadoghq.com/api/v1/screen/${DATADOG_SCREENBOARD_ID}?api_key=${DATADOG_API_KEY}&application_key=${DATADOG_APP_KEY}"
x
andy
values queried from the API are swapped from what Terraform reported.Important Factoids
I have tested this using
curl
and with the Datadog Python API client.References
N/A
The text was updated successfully, but these errors were encountered: