Skip to content

Commit

Permalink
Update Lambda Function docs URL and pydantic dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
san99tiago committed Feb 26, 2024
1 parent dcdef4f commit 486b226
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cdk/stacks/cdk_lambda_fastapi_stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,6 @@ def generate_cloudformation_outputs(self):
CfnOutput(
self,
"LambdaFunctionDocsUrl",
value=self.lambda_function_url.url,
value=f"{self.lambda_function_url.url}docs",
description="Documentation URL to invoke Lambda Function",
)
2 changes: 2 additions & 0 deletions lambda-layers/fastapi/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
fastapi==0.109.0
mangum==0.17.0
pydantic>=2.5.3
pydantic_core>=2.14.6
2 changes: 1 addition & 1 deletion src/lambdas/api/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
description="Simple FastAPI server that runs on top of Lambda Functions.",
contact={"Santiago Garcia Arango": "san99tiago@gmail.com"},
title="Simple FastAPI Example",
version="0.0.1",
version="1.0.0",
)


Expand Down

0 comments on commit 486b226

Please sign in to comment.