sparse-intern-71089
12/06/2022, 4:44 PMlimited-rainbow-51650
12/06/2022, 6:47 PMyaml.ConfigFile is in Pulumi speak a single resource, so that get’s provisioned using a single k8s provider. For a component, where you can mix resources from multiple providers, you have to pass the providers collection. There is no need to pass this collection to the child resources if you set the component resource as the parent in the child resource. Provider lookup traverses the parent links to find a provider.
See the documentation page on parent for more info:
https://www.pulumi.com/docs/intro/concepts/resources/options/parent/dry-keyboard-94795
12/06/2022, 10:28 PMproviders as we added a component resource.
Unfortunately, it looks like the ConfigFile resource depends on provider being passed explicitly to it.
I've opened a github issue for it since with more details