pulumi/tests/integration/construct_component_provider/python
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
..
.gitignore Rehydrate provider resources in `Construct` (#7624) 2021-07-23 14:10:06 -07:00
Pulumi.yaml Rehydrate provider resources in `Construct` (#7624) 2021-07-23 14:10:06 -07:00
__main__.py Rehydrate provider resources in `Construct` (#7624) 2021-07-23 14:10:06 -07:00
requirements.txt Rehydrate provider resources in `Construct` (#7624) 2021-07-23 14:10:06 -07:00