-
Notifications
You must be signed in to change notification settings - Fork 88
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
AWS_ENDPOINT_URL
overrides the endpoint URL of aws command
#76
Comments
Hi @yoshizawa56 , thanks for the pointer! In fact, we've been following the progress around We've deliberately introduced the Can you please elaborate a bit on your use case - where do you see the need for the distinction between a custom local endpoint for |
@whummer Here's my use case:
Given this scenario, I think it's crucial to have the ability to distinguish between the endpoint for awslocal and the endpoint that the AWS command (or the AWS SDK) picks up directly. This is because while the localhost:4566 works perfectly for most local setups, in the context of the devcontainer, where I have to point it to localstack:4566 (since localstack is not technically on localhost), it creates a need for a different setup. |
Hi @yoshizawa56, |
With the recent release of AWS CLI (v1.29.0 and v2.13.0), the environment variable
AWS_ENDPOINT_URL
is now being referenced by the aws commands as well. This release has caused a bug where setting AWS_ENDPOINT_URL to the endpoint of LocalStack results in the aws commands connecting to LocalStack instead.I believe it is necessary to change the name of the environment variable used for awslocal.
https://github.com/aws/aws-cli/blob/develop/CHANGELOG.rst#L29
The text was updated successfully, but these errors were encountered: