Skip to content

Error handling for unspecified AWS region #2

Description

@pda

When an AWS region isn't specified, the behaviour is correct but the error message is unclear;

$ PARAMETER_STORE_EXEC_PATH=/foo parameter-store-exec true
2017/12/06 15:47:08 MissingRegion: could not find region configuration

It would be nice if the error made it clear how to configure the region. This might mean linking to AWS SDK documentation, since the logic isn't implemented in parameter-store-exec. Or it might mean suggesting setting AWS_DEFAULT_REGION.

(I don't think there's any strong reason to support non-environment flags like --region; that would complicate the argument processing)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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