https://pulumi.com logo
Title
c

creamy-knife-93354

06/22/2021, 8:12 AM
Hey all! How can I work with AWS resources in different regions with Pulumi? Most of my resources is in the same region, but there is one specific resource (SES) that needs to be configured in a different one, due to feature availability..
b

billowy-army-68599

06/22/2021, 8:26 AM
you can pass an explicit provider to your resource which allows you to configure your region: https://www.pulumi.com/docs/reference/pkg/aws/provider/
c

creamy-knife-93354

06/22/2021, 8:29 AM
Thanks! Will it inherit the other necessary configuration automatically (access keys etc.), such that specifying only the region will be sufficient for the new provider?
b

billowy-army-68599

06/22/2021, 8:41 AM
no, but you can read the config values and pass them through
c

creamy-knife-93354

06/22/2021, 10:30 AM
Got it, thanks again!