Alerting: Use stable identifier of a group when export to HCL (#90196)

* change the rule-group to be hashed when exporting to HCL

Signed-off-by: Aviv Guiser <avivguiser@gmail.com>

---------

Signed-off-by: Aviv Guiser <avivguiser@gmail.com>
This commit is contained in:
AvivGuiser
2024-07-19 18:13:26 +03:00
committed by GitHub
parent a61cd94a70
commit 96c3e9c550
3 changed files with 9 additions and 4 deletions
@@ -1,4 +1,4 @@
resource "grafana_rule_group" "rule_group_0000" {
resource "grafana_rule_group" "rule_group_d3e8424bfbf66bc3" {
org_id = 1
name = "group101"
folder_uid = "e4584834-1a87-4dff-8913-8a4748dfca79"