Absolutely. You’ll need two AWS providers; you can use the default provider and an explicit provider, or you can use two explicit providers. Each provider points to a different AWS account/profile. Specify the provider to be used when defining the resource, and Pulumi will handle creating the resources appropriately.
🙌 1
c
cuddly-computer-18851
08/22/2023, 2:39 AM
I'd suggest not using the default provider ( and disable it ), as its easy to inadvertently create resources in the wrong account.