sounds like from the error that you're passing all of the providers through to the underlying resources, but only one would apply (k8s resource wouldn't use both k8s and aws providers)
h
high-grass-3103
05/16/2023, 8:26 AM
I only have one explicit provider, there's no way that I know of to explicitly pass a default provider.
Any way, I just pass providers to the component and they should magically apply to the resources?
r
red-match-15116
05/16/2023, 4:52 PM
Any way, I just pass providers to the component and they should magically apply to the resources?
you could have multiple explicit aws providers for different regions because you have a cross-region component. it's not always clear how to map providers to resources so that has to be done by the user writing the component.
✅ 1
h
high-grass-3103
05/17/2023, 6:19 AM
So which part is this referring to?
* Note: only a list should be used. Mapping keys are not respected.
As a component implementer, I'd find it easier to use a map
No 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.