https://pulumi.com logo
#general
Title
# general
b

better-shampoo-48884

06/28/2021, 8:42 AM
is there any way of affecting URN at the component-resource level? i.e. run the same component resource twice but in such a way that it's referenced separately in the stack?
l

little-cartoon-10569

06/28/2021, 8:33 PM
Yes. Pass in a different name parameter to
super()
.
Generally, it should be the name passed in to the constructor.
There may be cases where you add an extra suffix? Not sure.
b

better-shampoo-48884

06/29/2021, 6:21 AM
Seems a bit strange to pass a variable into a super() - which is what I would need to do. I think what I really need is some basic validation of my approach. I'll see if I can't make some simple version of my code to see if it makes sense to you all and request a cursory look to see if I'm making any fundamentally incorrect assumptions.