Open reiSh6phoo9o opened 10 months ago
Hi @reiSh6phoo9o same behaviour if you create alarm rule by api through curl, i will create internal ticket, not terraform issue
Created internal issue: https://jira.tsi-dev.otc-service.com/browse/BM-3840
Hello @anton-sidelnikov, is there any news related to this topic?
Hi @deem1978, sorry but still in progress. Seems the backend team will publish newer version of api v2.0, which will give us ability to use multiple dimensions.
Hi,
I'm trying to create an alarmrule with multiple dimensions. As I understand from the docs ( https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/latest/docs/resources/ces_alarmrule#dimensions ), this should be possible, though the docs here are not clear to me ("list of metric dimensions" is vague and rather unclear. I guess: multiple blocks).
I can create multiple dimensions using the webgui, but not using terraform.
Specifically, I want to create one alarmrule, which monitors both nodes of a HA RDS setup.
Terraform provider version
Terraform v1.5.7 on darwin_amd64
Affected Resource(s)
Terraform Configuration Files
Steps to Reproduce
terraform apply
Expected Behavior
The alarmrule should be created, and it should monitor two objects (node0 and node2).
Actual Behavior
An alarmrule is created, but it does not trigger an alert. If I compare it to the alertrule I click in the GUI, the diff is:
References
from this ticket, I expected that the syntax is use should work: