Closed tomsing1 closed 7 years ago
Exporting the AWS_DEFAULT_REGION
environment variable didn't work, but creating a .boto
file with the following content did the trick:
[Boto]
ec2_region_name = us-west-2
ec2_region_endpoint = ec2.us-west-2.amazonaws.com
Thomas -- thanks so much for following up with a solution, that's a big help for anyone doing this in non us-east-1 regions in the future. Hope additional things go smoother for you going forward.
I have encountered the same problem marked as resolved in #155: When I am trying to create a VPC in
us-west-2
, the VPC is always created inus-east-1
instead.As advised above I executed
export AWS_DEFAULT_REGION=us-west-2
before runningbcbio_vm.py aws vpc
but the VPC kept popping up inus-east-1
.For good measure, I also changed all
east-1
intowest-2
in~/.bcbio/elasticluster/config
, but that didn't help, either.Any ideas what's going on?
I am running the following versions: