Skip to content

Commit 52bb257

Browse files
docs: add architecture diagram description to empty section (#364)
1 parent 7e295f9 commit 52bb257

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/content/docs/aws/capabilities/networking/transparent-endpoint-injection.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,4 +140,8 @@ Note that in both cases, SSL verification must be disabled.
140140

141141
### From a lambda function
142142

143+
If you're using LocalStack with a Lambda function, run it inside the same Docker network as LocalStack. The lambda function uses the AWS SDK to communicate directly with LocalStack over the internal Docker network, without leaving the container environment.
144+
145+
Because both the Lambda function and LocalStack are co-located within the Docker network, AWS service requests are resolved internally and routed directly to LocalStack. This does not require transparent endpoint injection or host-level DNS configuration, as networking is handled entirely within Docker.
146+
143147
![A Lambda function communicating with LocalStack within a Docker container](/images/aws/5.svg)

0 commit comments

Comments
 (0)