Use LocalStack as DNS server to redirect AWS queries to LocalStack
Local Endpoint Injection
In the community (open source) edition, the application code needs to configure each AWS SDK client instance with the target
endpoint URL to point to the APIs on
localhost or, in the case of Lambdas running in the context of LocalStack, the
endpoint URL should point to
The Pro version provides two options for transparently making your application logic speak to the local APIs instead of real AWS (without having to change your production code):
- integrated DNS server
- patched AWS SDKs
More details can be found in the subsections below.
Using patched SDKs in Lambdas to transparently redirect AWS API calls to LocalStack
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.