defaultProvider
should apply to fn::invoke
, not just resources
#661
Labels
kind/bug
Some behavior is incorrect or out of spec
What happened?
I was using pulumi-yaml as part of cross-testing in the bridge, and I assumed that a provider configured with
defaultProvider: true
would apply to myfn::invoke
instance. It did not, but it should.Example
You can see a failed call to
https://sts.invalid.amazonaws.com/
when the invoke options are uncommented, but the call either succeeds (if you have ambient AWS credentials) for fails with missing creds if not with the invoke options commented out.Output of
pulumi about
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: