terraform-provider-dynatrace
terraform-provider-dynatrace copied to clipboard
Problems tile in dashboard giving "no permissions" error when adding a custom management zone filter
Describe the bug I used the dynatrace json dashboard resource https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs/resources/json_dashboard and the problems tile was filtered for a custom management zone. This gives error due to "no permissions" when deployed.
however, I was able to create the same problems tile with custom management zone filter in the same environment without error without using terraform. So it makes me wonder if its due to terraform here.
To Reproduce Steps to reproduce the behavior:
- use https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs/resources/json_dashboard to make a dashboard with a problems tile filtered for a management zone.
- once changes are deployed, it gives error "no permissions" next to management zone
- below is the json snippet of the tile in terraform
"tiles": [
{
"bounds": {
"height": 152,
"left": 38,
"top": 646,
"width": 266
},
"configured": true,
"name": "Problems (open/all)",
"tileFilter": {
"managementZone": {
"id": "8549387243402376494",
"name": "team-hawaiian-pizza"
}
},
"tileType": "OPEN_PROBLEMS"
},
Expected behavior There should not be any error on problems tile and i should be able to apply management zone filter on problems tile.
Screenshots all samples attached