Skip to content

Include region when building 'ec2' boto3 client #12

@DaniDasBoot

Description

@DaniDasBoot

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:

ec2 = boto3.client("ec2")

To look like:

ec2 = boto3.client("ec2", region_name=region)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions