-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
When fetching the endpoints for S3, additional logic replaces localhost with s3.localhost.localstack.cloud.
public String getEndpointS3() {
String s3Endpoint = endpointForService(ServiceName.S3);
s3Endpoint = s3Endpoint.replace("localhost", Constants.S3_LOCALHOST_DOMAIN_NAME);
return s3Endpoint;
}
| s3Endpoint = s3Endpoint.replace("localhost", Constants.S3_LOCALHOST_DOMAIN_NAME); |
I would like to configure all endpoints to be based on localhost.localstack.cloud. On local machines, this resolves to localhost, and on my CI I can add an entry to the machine's /etc/hosts file to point to my docker service container running elsewhere on the network.
Problem, when my global endpoint is already localhost.localstack.cloud, this results in s3.localhost.localstack.cloud.localstack.cloud, which is obviously wrong.
Why have separate logic only for the S3 services?
Metadata
Metadata
Assignees
Labels
No labels