Transparent endpoint injection
less than a minute
Suppose you’re attempting to access LocalStack, but you’re relying on transparent endpoint injection to redirect AWS (*.amazonaws.com
) requests. In such cases, there are different approaches you can take depending on your setup.
From your host
If you’re using LocalStack with an API key, then you can utilize the DNS server to perform requests to LocalStack as if it were AWS.
For the community edition of LocalStack, you can employ your own DNS server to achieve a similar outcome, but it won’t be managed by LocalStack. Note that in both cases, SSL verification must be disabled. See the limitations of the DNS server for more information.
From a lambda function
Check out our documentation on using transparent endpoint injection for Lambda in LocalStack.
Last modified March 17, 2023: Network troubleshooting document (#444) (32a42f21)