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

NoRegionError: You must specify a region. causing Altimeter to crash on use. #179

Closed
dmoore247 opened this issue Oct 26, 2022 · 1 comment

Comments

@dmoore247
Copy link

This line of code causes Altimeter to crash upon first use.
s3_client = boto3.client("s3") throws NoRegionError: You must specify a region. error because the region parameter is not specified and the AWS_DEFAULT_REGION environment variable wasn't specified.

Suggest either adding region parameter to the call based on what's in the config file or pick a region by default, or tell user to set AWS_DEFAULT_REGION and/or update documentation.

@jbmchuck
Copy link
Contributor

jbmchuck commented Nov 8, 2023

Thanks for the report - the entrypoint bash script has been updated to detect this as of 6.4.18 - https://github.com/tableau/altimeter/pull/207/files#diff-e5f16e411360ad8e6f528dea8207537a71c2dca1869926d152c00017bde3ff4d

@jbmchuck jbmchuck closed this as completed Nov 8, 2023
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

No branches or pull requests

2 participants