We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1372b46 commit 157ec8bCopy full SHA for 157ec8b
lambda_uploader/uploader.py
@@ -85,6 +85,11 @@ def upload_existing(self, pkg):
85
version = response.get('Version')
86
# Publish the version after upload and config update if needed
87
if self._config.publish:
88
+
89
+ waiter = self._lambda_client.get_waiter('function_updated')
90
+ LOG.debug("Waiting for lambda function to be updated")
91
+ waiter.wait(FunctionName=self._config.name)
92
93
resp = self._lambda_client.publish_version(
94
FunctionName=self._config.name,
95
)
0 commit comments