Skip to content

Default --region should come from the profile #22

@tbooth

Description

@tbooth

If no --region is specified on the command line the default is hard coded to 'us-east-1'. The region set in the profile is ignored, and also the standard AWS_DEFAULT_REGION environment variable is ignored.

Given that the default behaviour of calling boto3.session.Session(region_name=None) is to respect both these settings, this would be a more logical default.

Thanks for maintaining dsnap!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions