i have an edge-case-ish question about cross accou...
# aws
s
i have an edge-case-ish question about cross account permissions and pulumi’s autogenerated resource name suffixes: how do people deal with rebuilds that cause resource renames?
considering the external account will have policies based on the full resource name which won’t be automatically updated by a rebuild of the resource being shared
l
Disclaimer: I don’t work for Pulumi. I think the solution here is to turn autonaming off and add
deleteBeforeReplace.
s
dang i was afraid of that 😅
thanks for chiming in 🤝
🙌 1
c
If the only thing that is changing is the name and not the resource, you could also use alias. Here is a blog called Refactoring Pulumi Code with `aliases`
🙏 1