that's not possible with the default provider. You'll need to either assume role to account B, or set the provider in the stack configuration to be Account B
p
purple-megabyte-83002
01/06/2022, 7:52 PM
@billowy-army-68599 how to set the provider “in the stack configuration” ? cant find in the doc
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.