pulumiverse / pulumi-grafana

Pulumi provider for Grafana
Apache License 2.0
20 stars 11 forks source link

Rule Group with same resource name are detected as duplicates across stacks in 0.5.1 release #189

Open urianawu opened 3 months ago

urianawu commented 3 months ago

Hello,

We recently upgraded to 0.5.1 and have encountered issues with provisioning Rule Group. We have our rules setup as such

staging <- stack
API/Staging <- folder
- api-rule-group-1 <- rule group resource name
- api-rule-group-2

prod <- stack
API/Prod <- folder
- api-rule-group-1 <- rule group resource name
- api-rule-group-2

The rule groups were provisioned without issues on 0.4.2. But we get rule group with name "api-rule-group-1" already exists error whenever we update the stack.

My understanding is that same rule group resource name is allowed if they are in different stacks, and this has been the behavior in past releases. I wonder if there's a bug introduced in 0.5.1 that broke this.