Skip to content
This repository was archived by the owner on Mar 15, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fixed lambda deployment
  • Loading branch information
rashadmoarref authored and rashadgumgum committed Jan 12, 2022
commit 11c3c07db9f70ba78306444d2fbd97fa5a7a4314
4 changes: 4 additions & 0 deletions aws_lambda/aws_lambda.py
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,10 @@ def update_function(
Publish=True,
)

# Wait for function to be upodated
waiter = client.get_waiter('function_updated')
waiter.wait(FunctionName=cfg.get("function_name"))

kwargs = {
"FunctionName": cfg.get("function_name"),
"Role": role,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

REQUIREMENTS = [
"boto3>=1.4.4",
"click==6.6",
"click>=6.6",
"PyYAML==5.1",
]
PACKAGE_DATA = {
Expand Down