Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement better error message when the AWS region or AWS default region is missing #507

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

christophetd
Copy link
Contributor

(closes #506)

new output:

2024/04/04 12:17:34 Checking your authentication against AWS
2024/04/04 12:17:34 you are not authenticated against AWS, *or* you have not set your region.

Troubleshooting:
1. Are you authenticated against AWS?
2. Do you have a region or default region set, in your AWS configuration file or in your environment? (AWS_REGION or AWS_DEFAULT_REGION)

@christophetd christophetd requested a review from udgover April 4, 2024 10:34
@christophetd christophetd force-pushed the better-aws-error-message-when-missing-region branch from 9a98e5c to 2930185 Compare April 4, 2024 10:41
@christophetd christophetd force-pushed the better-aws-error-message-when-missing-region branch from 2930185 to 3a84452 Compare April 4, 2024 11:04
Copy link

@udgover udgover left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@christophetd christophetd merged commit f84ad92 into main Apr 4, 2024
5 checks passed
@christophetd christophetd deleted the better-aws-error-message-when-missing-region branch April 4, 2024 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Display nicer error when AWS_REGION is not set
2 participants