Hi, is there a way with python and aws, to create ...
# general
r
Hi, is there a way with python and aws, to create two vpc's in different regions? Or do I need to create separate stacks to do this?
b
Hi @red-football-97286, you can create different providers within the code that have different regions assigned
and then attach that provider to a resource using CustomResourceOptions
let me see if I can find an example for you
r
OK, thank you Paul. I'll take a look at the documentation 👍
b
In an Azure example, we do this
notice how we declare a provider (in your case it would be an AWS provider) and then we pass the provider to the resource as opts
r
Thank you, this is really helpful, Paul.
Hi @broad-dog-22463, thank you for your help, manage to get it all working.
b
great news!!
r
👍