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 detailsNo matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by