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

white-chef-55657

05/20/2022, 7:45 PM
I’m trying to be good and create ComponentResource for everything and it’s working really well! my only issue is URNs, I’m trying to be forward compatible and inherit the URN from the parent, in case I need to change some naming structure but obviously this won’t fly
Copy code
super(pulumi.interpolate`${opts.parent?.urn}:cluster`, name, {}, opts);
as the constructor won’t take an Output, and I can’t nest the super inside an apply has anyone tried doing something like this?
3 Views