High-performance open-source orchestration utility that utilizes EBS Direct APIs to efficiently clone, copy and migrate EBS snapshots to and from arbitrary File, Block or Object destinations.
Apache License 2.0
30
stars
2
forks
source link
Include region when building 'ec2' boto3 client #12
If the AWS CLI is not configured with a region, the region validation portion of main.py will fail when attempting to get a list of valid AWS regions. Update the following line:
If the AWS CLI is not configured with a region, the region validation portion of main.py will fail when attempting to get a list of valid AWS regions. Update the following line:
https://github.com/awslabs/flexible-snapshot-proxy/blob/87534314f2564151170494bdfa13809fc772fcdc/src/main.py#L348
To look like:
ec2 = boto3.client("ec2", region_name=region)