DOC-372: Document AWS_CA_BUNDLE fix for python TEI in DNS mode - #901
Open
quetzalliwrites wants to merge 1 commit into
Open
DOC-372: Document AWS_CA_BUNDLE fix for python TEI in DNS mode#901quetzalliwrites wants to merge 1 commit into
quetzalliwrites wants to merge 1 commit into
Conversation
Note that python Lambdas bundling botocore >= 1.43.54 now work by default under Transparent Endpoint Injection, since LocalStack only sets an empty AWS_CA_BUNDLE in DNS-based injection mode (LAMBDA_DISABLE_AWS_ENDPOINT_URL=1) rather than unconditionally. Document the DISABLE_TRANSPARENT_ENDPOINT_INJECTION=1 workaround for users who need DNS mode with a bundled current botocore.
quetzalliwrites
requested review from
HarshCasper and
remotesynth
as code owners
August 28, 2026 14:30
Deploying localstack-docs with
|
| Latest commit: |
b6a6a79
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://ad0a3bd8.localstack-docs.pages.dev |
| Branch Preview URL: | https://doc-372-doc-fixlambda-only-s.localstack-docs.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documents the fix from localstack-pro#8065: LocalStack now only sets an empty
AWS_CA_BUNDLEfor python Lambda Transparent Endpoint Injection when DNS-based injection (LAMBDA_DISABLE_AWS_ENDPOINT_URL=1) is active, rather than unconditionally. This unblocks python Lambdas that bundle botocore >= 1.43.54, which added validation rejecting an emptyAWS_CA_BUNDLEwithInvalidConfigError.Added a note to the "Self-signed certificates" section of the Transparent Endpoint Injection doc explaining:
AWS_ENDPOINT_URLactive) mode now works out of the box with a bundled current botocore, since it reaches LocalStack over plain HTTP and needs no cert handling.AWS_CA_BUNDLE, which is incompatible with a bundled current botocore — useDISABLE_TRANSPARENT_ENDPOINT_INJECTION=1as the workaround in that case.Linear ticket
https://linear.app/localstack/issue/DOC-372/doc-fixlambda-only-set-empty-aws-ca-bundle-for-python-tei-in-dns-mode
Test plan
npx astro buildcompletes successfully (404 pages built)