Closed nicolas-rey closed 3 weeks ago
I am having the same problem. What information should I provide to help?
👍 I will take a look today
Hello @julienduchesne , can you suggest a workaround?
Unfortunately can't but this will be fixed in the next version (probably tomorrow)
Should be fixed in v2 and v3
Terraform Version
1.6.5
Terraform Grafana Provider Version
2.15 (and upper)
Grafana Version
10.2.5
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
This HCL need to create an alert with title "testing:grafana:health" on the folder uid linked to grafana_folder.grafana.uid (for exemple ee1ee37a-79e2-4ecb-8ab0-01266d403b63) With the grafana provider 2.15.0 and upper, the id for this alerta will be "ee1ee37a-79e2-4ecb-8ab0-01266d403b63:testing:grafana:health" (with the Legacy ID)
Actual Behavior
When apply this job resultat is an error of format. Grafana provider not match the format "folderUID:title" because the title of the rule contains some ":".
Before the legacy ID format, if the split on ";" was give more that 2 elements the first was for the folder id and all others were concat with ";" for the title. Since the #1453, split is on ":", if result have more of 2 elements are on the table, the first is for the folder uid but all other isn't concat after get the uid folder.
Steps to Reproduce
terraform apply
Important Factoids
No response
References
1453