Is it possible to create resources in multiple AWS...
# general
r
Is it possible to create resources in multiple AWS account with one
pulumi up
(in a single Pulumi project)? For example, I need to create a Policy in a member account first, then create a PermissionSet in the Management account.
s
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.
c
I'd suggest not using the default provider ( and disable it ), as its easy to inadvertently create resources in the wrong account.
```pulumidisable default providers
- aws```