diff --git a/lib/endpoints.ml b/lib/endpoints.ml index 2ba20e0b2..cf1ba599d 100644 --- a/lib/endpoints.ml +++ b/lib/endpoints.ml @@ -1923,5 +1923,7 @@ let endpoint_of svc_name region = let url_of svc_name region = match endpoint_of svc_name region with + (* for dynamodb-local *) + | Some "localhost:8000" when String.ends_with ~suffix:"dynamodb" svc_name -> Some "http://localhost:8000" | Some var -> Some ("https://" ^ var) | None -> None