From 77dfe07295cf40739d040e3330b36d40ac5101f9 Mon Sep 17 00:00:00 2001 From: Eduardo Date: Mon, 25 Aug 2025 11:39:31 +0200 Subject: [PATCH 1/3] docs: Adding limitation to TEI docs. --- .../networking/transparent-endpoint-injection.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/content/docs/aws/capabilities/networking/transparent-endpoint-injection.md b/src/content/docs/aws/capabilities/networking/transparent-endpoint-injection.md index a855e909..93079748 100644 --- a/src/content/docs/aws/capabilities/networking/transparent-endpoint-injection.md +++ b/src/content/docs/aws/capabilities/networking/transparent-endpoint-injection.md @@ -110,6 +110,11 @@ Make sure to use this only for local testing, and never in production. - The mechanism to disable certificate validation for these requests is not currently functional with Go Lambdas. To work around this issue, you'll need to manually set your endpoint when creating your AWS SDK client, as detailed in our documentation on the [Go AWS SDK](/aws/integrations/aws-sdks/go). +- Transparent Endpoint Injection is not designed to work within the LocalStack container or in containers it spawns, like a Lambda function. To connect to LocalStack from within these environments, you have a couple of options: + - Set the AWS_ENDPOINT_URL environment variable: +Set `AWS_ENDPOINT_URL=http://localhost.localstack.cloud:4566`. This is the recommended approach as it directly points your AWS client to the LocalStack endpoint. + - Disable certificate validation (not recommended): +If the first option isn't feasible, you can disable certificate validation by exporting an empty AWS_CA_BUNDLE variable(`export AWS_CA_BUNDLE=""`). However, note that this will cause a warning to be raised for every command. You can suppress these warnings by setting the PYTHONWARNINGS=ignore environment variable ## Troubleshooting From 792fb4b5adf4bca57aabef0abbe5ef740d678c8a Mon Sep 17 00:00:00 2001 From: Eduardo Date: Mon, 25 Aug 2025 11:44:01 +0200 Subject: [PATCH 2/3] doc: TEI limiations small modifications --- .../capabilities/networking/transparent-endpoint-injection.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/aws/capabilities/networking/transparent-endpoint-injection.md b/src/content/docs/aws/capabilities/networking/transparent-endpoint-injection.md index 93079748..1b333bbd 100644 --- a/src/content/docs/aws/capabilities/networking/transparent-endpoint-injection.md +++ b/src/content/docs/aws/capabilities/networking/transparent-endpoint-injection.md @@ -114,7 +114,7 @@ Make sure to use this only for local testing, and never in production. - Set the AWS_ENDPOINT_URL environment variable: Set `AWS_ENDPOINT_URL=http://localhost.localstack.cloud:4566`. This is the recommended approach as it directly points your AWS client to the LocalStack endpoint. - Disable certificate validation (not recommended): -If the first option isn't feasible, you can disable certificate validation by exporting an empty AWS_CA_BUNDLE variable(`export AWS_CA_BUNDLE=""`). However, note that this will cause a warning to be raised for every command. You can suppress these warnings by setting the PYTHONWARNINGS=ignore environment variable +If the first option isn't feasible, you can disable certificate validation by exporting an empty AWS_CA_BUNDLE variable(`export AWS_CA_BUNDLE=""`). However, note that this will cause a warning to be raised for every command. You can suppress these warnings by setting the `PYTHONWARNINGS=ignore` environment variable. ## Troubleshooting From c4860ede760b5643e3a15256f0959cfa4f047ca2 Mon Sep 17 00:00:00 2001 From: eduardo <83775838+drauedo@users.noreply.github.com> Date: Tue, 26 Aug 2025 21:05:38 +0200 Subject: [PATCH 3/3] Changing wording on limitation. Co-authored-by: Quetzalli --- .../capabilities/networking/transparent-endpoint-injection.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/aws/capabilities/networking/transparent-endpoint-injection.md b/src/content/docs/aws/capabilities/networking/transparent-endpoint-injection.md index 1b333bbd..29ef6a46 100644 --- a/src/content/docs/aws/capabilities/networking/transparent-endpoint-injection.md +++ b/src/content/docs/aws/capabilities/networking/transparent-endpoint-injection.md @@ -110,7 +110,7 @@ Make sure to use this only for local testing, and never in production. - The mechanism to disable certificate validation for these requests is not currently functional with Go Lambdas. To work around this issue, you'll need to manually set your endpoint when creating your AWS SDK client, as detailed in our documentation on the [Go AWS SDK](/aws/integrations/aws-sdks/go). -- Transparent Endpoint Injection is not designed to work within the LocalStack container or in containers it spawns, like a Lambda function. To connect to LocalStack from within these environments, you have a couple of options: +- Transparent Endpoint Injection does not work when code runs inside the LocalStack container or any containers it spawns (e.g., Lambda functions). If you need to connect to LocalStack from within these environments, here are a couple of alternative approaches: - Set the AWS_ENDPOINT_URL environment variable: Set `AWS_ENDPOINT_URL=http://localhost.localstack.cloud:4566`. This is the recommended approach as it directly points your AWS client to the LocalStack endpoint. - Disable certificate validation (not recommended):