mirror of https://github.com/pulumi/pulumi.git
c0e05ada23
We previously fixed an issue where a provider specified on a component resource with `provider=` was not correctly propagated to its children in the providers bag. (#12161) The fix was based on setting `resource._provider` only if the resource package matched the provider package. Otherwise, the provider would be added to the `providers` bag to be propagated to the children. This introduced a bug where we would drop the provider somehow, and start using the default provider instead. The change was reverted. (#12520) The reason for this failure was that the resulting providers bag was being ignored: - The bag returned by `_get_providers` is stored on the resulting resource: |
||
---|---|---|
.. | ||
pulumi | ||
test | ||
test_with_mocks | ||
setup.py |