Reading through the AWS CloudFormation VPC docs, I'm not seeing how/where I specify the region to create the VPC in. Any ideas as to how this configuration works?
Asked
Active
Viewed 160 times
1 Answers
1
You specify the region you're deploying to with your CLI credentials / profile rather than in the CloudFormation template. This makes it easier to deploy the same template to different regions.
~/.aws/credentials
[default]
aws_access_key_id=AKIAIOSFODNN7EXAMPLE
aws_secret_access_key=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
~/.aws/config
[default]
region=us-west-2
output=json

Tim
- 31,888
- 7
- 52
- 78