pulumi/tests/integration/construct_component_provider
Justin Van Patten e8bd8e5e1f
Rehydrate provider resources in Construct (#7624)
Previously, any provider resource passed to multi-lang components would be instantiated as a `DependencyProviderResource` inside `Construct`, which prevents the component from being able to easily access the provider's state as an instance of of the provider (e.g. `*aws.Provider`).

This change attempts to rehydrate the provider resource in the same way that resource references are rehydrated, if it's been registered, s.t. the specific provider resource type is instantiated with its state. Otherwise falling back to returning `DependencyProviderResource`.
2021-07-23 14:10:06 -07:00
..
dotnet Rehydrate provider resources in Construct (#7624) 2021-07-23 14:10:06 -07:00
go Rehydrate provider resources in Construct (#7624) 2021-07-23 14:10:06 -07:00
nodejs Rehydrate provider resources in Construct (#7624) 2021-07-23 14:10:06 -07:00
python Rehydrate provider resources in Construct (#7624) 2021-07-23 14:10:06 -07:00
testcomponent Rehydrate provider resources in Construct (#7624) 2021-07-23 14:10:06 -07:00
testcomponent-go Rehydrate provider resources in Construct (#7624) 2021-07-23 14:10:06 -07:00
testcomponent-python Rehydrate provider resources in Construct (#7624) 2021-07-23 14:10:06 -07:00