[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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NTQ4NjksIm5iZiI6MTczOTY1NDU2OSwicGF0aCI6Ii8zMDU0NDExLzQxMjgxNDA4NS1kMjBmMGZkZS0xMjYyLTRmMzgtYmMxNC1kZGI4OWQ0NTZmMDQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTVUMjEyMjQ5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NWVkOTA5ZWYzZThmODQ2YjI5OTYzNDBmMjRlYTgzOWI0ZmIwZGZlNjM5OWUyNWZhMDVkOWViY2UxYjYxMjQ5NiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.-5Ie8z2UZjz7zZOiMhDBrq6UxRY06-Ia69yVVjXTu8Y)
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: