Skip to content

More descriptive error if no AWS creds are passed #10

@ianwestcott

Description

@ianwestcott

If I run route53-transfer without passing --access-key-id and --secret-key, and without setting AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY in my environment, the error I get looks like an error from AWS:

$ route53-transfer dump example.com example.com.csv
ERROR: Invalid AWS credentials supplied.

It would be more clear to the user if the script validated the existence of the AWS credentials and gave a more explicit error if they were not set by either means.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions