You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -1903,9 +1912,11 @@ class LambdaBackend(BaseBackend):
1903
1912
1904
1913
It is possible to connect from AWS Lambdas to other services, as long as you are running MotoProxy or the MotoServer in a Docker container.
1905
1914
1906
-
When running the MotoProxy, calls to other AWS services are automatically proxied.
1915
+
Moto injects the `AWS_ENDPOINT_URL` environment variable into every Lambda, which means that calls to other AWS services are automatically intercepted.
1916
+
1917
+
Note that, if you use a non-standard or older Docker image, the `AWS_ENDPOINT_URL` may not be supported.
1907
1918
1908
-
When running MotoServer, the Lambda has access to environment variables `MOTO_HOST` and `MOTO_PORT`, which can be used to build the url that MotoServer runs on:
1919
+
If that is the case, use the environment variables `MOTO_HOST` and `MOTO_PORT`to build the AWS endpoint url and point it to Moto:
0 commit comments