This message was deleted.
# general
s
This message was deleted.
f
(edit) I take back what I said. I was looking at the code and forgot we actually do have this 🙂 https://www.pulumi.com/docs/intro/concepts/programming-model/#inheriting-resource-providers
s
I saw this, but I've a order problem here. In the constructor of my ComponentResource I cannot provide the option "providers" for the super call because the k8s.Provider is create later in this same constructor.
So my idea was to somehow add the provider to this providers option after it is created in my constructor.
f
ah, sorry i think i missed that part
i thought perhaps you had a ComponentResource with another ComponentResource inside it
another thought then is could you register a transformation so that the children end up getting the correct provider?