-
Notifications
You must be signed in to change notification settings - Fork 115
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
Migrate removed networking variables #900
Conversation
⚡️ Deploying PR Preview... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to update usages of e.g. HOSTNAME_EXTERNAL
and other deprecated variables from the main text as well as the configuration section. There are a few references to HOSTNAME_EXTERNAL
but we need to replace LOCALSTACK_HOSTNAME
as well (unless used in a read-only capacity).
In addition, could we make a change to the FAQ entry about "Why can’t my other Docker containers reach LocalStack?"? Perhaps keep the first paragraph, but remove the remaining text and link to the network troubleshooting guide?
Correct, that's quite some usage.
Good suggestion, done 👍 |
@@ -100,12 +100,13 @@ You can now use ECR (Elastic Container Registry) images within your EKS environm | |||
|
|||
#### Initial configuration | |||
|
|||
To modify the return value of resource URIs for most services, including ECR, you can utilize the `HOSTNAME_EXTERNAL` variable in the [configuration]({{< ref "configuration" >}}). By default, ECR returns a `repositoryUri` starting with `localhost`, such as: `localhost:<port>/<repository-name>`. However, if you set the `HOSTNAME_EXTERNAL` to `localhost.localstack.cloud`, the ECR will provide a `repositoryUri` like `localhost.localstack.cloud:<port>/<repository_name>`. | |||
To modify the return value of resource URIs for most services, including ECR, you can utilize the `LOCALSTACK_HOST` variable in the [configuration]({{< ref "configuration" >}}). | |||
By default, ECR returns a `repositoryUri` starting with `localhost.localstack.cloud`, such as: `localhost.localstack.cloud:<port>/<repository-name>`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@simonrw That's the new default, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes this is correct
@@ -62,6 +60,13 @@ test: | |||
- aws --endpoint http://localhost.localstack.cloud:4566 s3 ls s3://test/ | |||
``` | |||
|
|||
<details> | |||
<summary>For LocalStack versions before 3.0.0</summary> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks a bit awkward but probably needed
86354dd
to
27afd5f
Compare
8ebba3b
to
31ca2f7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks a lot for taking care of this migration. It's exciting to be able to remove HOSTNAME_EXTERNAL
and LOCALSTACK_HOSTNAME
from our docs!
AWS_ENDPOINT_URL
USE_SSL
and describe its current usage<SERVICE>_PORT_EXTERNAL