[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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2ODM3ODQsIm5iZiI6MTczOTY4MzQ4NCwicGF0aCI6Ii8zMDU0NDExLzQxMjgxNDA4NS1kMjBmMGZkZS0xMjYyLTRmMzgtYmMxNC1kZGI4OWQ0NTZmMDQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTZUMDUyNDQ0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MmRlMjUyNTIxZDMzZjM3YWUwZjQ0MTY4NzM5NTZlYjVlOGUwY2I0NGE2NjA5NmIyODgxYTYzNWJkNDBjZDZjOSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.eAeQfSvVqLIxVzT_22yT_eek0-AHbFMFLWWfCPPDxdY)
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: