[go sdk] yaml.NewConfigGroup() duplicate resource URN error when managed with multiple provider #3490
Labels
kind/bug
Some behavior is incorrect or out of spec
needs-triage
Needs attention from the triage team
What happened?
I have a infra stack with multiple clusters need to manage, each cluster should apply the same yaml files.
i already assigned unique resource name, but got the error from pulumi cli:
![Image](https://private-user-images.githubusercontent.com/3054411/412814085-d20f0fde-1262-4f38-bc14-ddb89d456f04.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2Nzc3MzYsIm5iZiI6MTczOTY3NzQzNiwicGF0aCI6Ii8zMDU0NDExLzQxMjgxNDA4NS1kMjBmMGZkZS0xMjYyLTRmMzgtYmMxNC1kZGI4OWQ0NTZmMDQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTZUMDM0MzU2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NDAxODUzYjBjMWY3N2JhOGU1Mjk1ZGQ5MmM3Y2M3YTUzYTA0NjEzMWE1MGRhZTU0ZTQ5NDJhN2E5MzQxNGM5NyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.vNT__jhAFmAuS1QnBdBDYx32rGjkuVsip7DDbY4jfA4)
it seems
yaml.NewConfigGroup()
doesn't add the prefix ofConfigGroup
name or something else to the child resources name.Example
sample code goes here:
Output of
pulumi about
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: