Skip to content

Commit

Permalink
Merge pull request #11 from balihoo/HUB-3742-lambda-state-resource-co…
Browse files Browse the repository at this point in the history
…nflict-issue

Hub 3742 lambda state resource conflict issue
  • Loading branch information
balihoo-mpatel authored Dec 6, 2021
2 parents 74343cf + 5d52bc5 commit 305e55a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions blambda/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import sys
import tempfile
from pathlib import Path, PurePath
import time

import boto3
from botocore.exceptions import ClientError
Expand Down Expand Up @@ -285,6 +286,9 @@ def publish(name, role, zipfile, options, dryrun):
FunctionName=name,
ZipFile=file_bytes
)

time.sleep(5)

cprint("Updating lambda function configuration", 'yellow')
response = client.update_function_configuration(
FunctionName=name,
Expand Down

0 comments on commit 305e55a

Please sign in to comment.