Skip to content

Major: rename default container name to localstack-main #2

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

Merged

Conversation

simonrw
Copy link

@simonrw simonrw commented Nov 20, 2023

Motivation

Hyphens are not allowed in URLs. When addressing the LocalStack container over a docker network, the container name resolves to the IP address of the container. This is a problem in particular for boto3 which refuses to connect.

Changes

This PR updates usages of localstack_main to localstack-main.

The previous default container name `localstack_main` is not a valid URL, so
we rename the default to `localstack-main`.

See localstack/localstack#9469.
@simonrw simonrw requested a review from alexrashed November 20, 2023 13:52
@alexrashed alexrashed requested review from baermat and removed request for alexrashed November 20, 2023 13:57
@simonrw simonrw marked this pull request as ready for review November 22, 2023 09:44
@simonrw simonrw merged commit d156b8e into localstack-samples:main Nov 28, 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

Successfully merging this pull request may close these issues.

2 participants