Closed naquad closed 1 year ago
Hi!
Hostnames cannot contain an underscore character. This is not a restriction of awscli-local
, but a general one.
This is the reason why it is (currectly) labeled as an invalid endpoint. Please use the docker compose service name (in this case, localstack
) to connect from your sidecar to localstack itself.
The setup. I've LocalStack in a docker-compose environment, to configure the services I'm using a side cart pattern:
Here's my docker-compose.yml:
The problem is that
endpoint-url
fails with the "localstack_main" hostname:Forcing the container IP and replacing localstack_main with the IP yields the expected result:
P. S. Setting FQDN hostname for the service works too.