sparse-intern-71089
11/09/2022, 4:52 AMworried-rain-74420
11/09/2022, 5:48 AMmy-toy-aws-account and my-real-aws-account .
You can set your AWS config in Pulumi.my-toy-aws-account.yaml to point to your first AWS account and Pulumi.my-real-aws-account.yaml to point to your second account. If the rest of your config is the same, you'll have the same effect as if you had used one stack and swapped the credentials. This approach will also work with the Pulumi Service backend. Someone else can correct me if I'm wrong, but I suspect having one stack per environment is "idiomatic Pulumi". Of course, your needs may preclude that 🙂rough-jordan-15935
11/09/2022, 6:28 AMaws:profile param in the configworried-rain-74420
11/09/2022, 12:18 PMrough-jordan-15935
11/09/2022, 1:13 PM