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

Why not use this? alias awslocal='aws --endpoint-url=http://localhost:4566' #82

Open
creotiv opened this issue Mar 27, 2024 · 1 comment
Assignees
Labels

Comments

@creotiv
Copy link

creotiv commented Mar 27, 2024

What difference awslocal has to aws ?

@alexrashed
Copy link
Member

Well, that's a good question! As mentioned in the readme, this is pretty much the same command.
However, it can be handy to have this config by just switching the command (maybe even with an alias switching between prod and local dev). And in addition to the endpoint URL config, awslocal also performs some other optimizations concerning the endpoint and TLS handling.
But yes, this 270 LoC script is all there is to awslocal: https://github.com/localstack/awscli-local/blob/master/bin/awslocal
Which in my opinion shows quite well how good LocalStack is as a drop-in replacement of live AWS services... 😄

@alexrashed alexrashed self-assigned this Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants