Created
January 29, 2023 13:39
-
-
Save qmaruf/896243c4b776b957c818d2da9efde03c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def update_lambda(function_name): | |
response = lambda_client.update_function_code( | |
FunctionName=function_name, | |
ZipFile=open(f'{function_name}.zip', 'rb').read() | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment