This code excerpt is a rewrite of an existing Go codebase for another team, that uses Python. So I knew and thus expected the code to work
sticky-bear-14421
05/25/2021, 11:47 AM
I found a solution for the problem, even though I do not understand why it works 😉
sticky-bear-14421
05/25/2021, 11:48 AM
Changing the ResourceOptions for the target_provider from (provider=intermediate_provider) to (provider*s*=*[intermediate_provider]*)
sticky-bear-14421
05/25/2021, 11:53 AM
So, many words later, here the proposed question, why can't I chain providers in Pulumi using Python? Or why can't I use them the way I expected them to work?
sticky-bear-14421
05/25/2021, 1:02 PM
If this is expected behaviour should we add an aws-py-chained-providers to the example repository?
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.