percolate / ec2-security-groups-dumper

Dump your EC2 Security Groups as a CSV or JSON file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to change AWS region

sh1n0b1 opened this issue · comments

I'm having difficult changing the AWS region where the security groups are being pull. I tired setting the region in ~/.aws/config and ~/.boto, but it only pull the security groups from us-east-1.

I have this in my .boto:

[Boto]
ec2_region_name = us-west-1
ec2_region_endpoint = ec2.us-west-1.amazonaws.com

Try it?

Yup, that works! It looks like you have to specify a endpoint uri and the endpoint uri is not the uri of the AWS console. Thanks for the quick reply.