VirtusLab/besom

Component children do not inherit parent providers

lbialy opened this issue · 1 comments

One of the improvements that Besom has over other Pulumi SDKs is that components are much less error prone because they require less manual steps - user doesn't have to manually call registerOutputs, user doesn't have to pass component instance as parent reference to all resources. The latter is only necessary for our internals to look up parents providers (a Map[String, ProviderResource] in case of components) and propagate them to children. Our implementation correctly propagated parent URN (this is a separate mechanic) that created logical hierarchies of resources visible in preview as subtrees but due to a mistake in implementation inheritance of providers was left out.