From 844ec2cf3a29c9daa977e16283152abc6ce62869 Mon Sep 17 00:00:00 2001 From: Alex Wang Date: Tue, 9 Dec 2025 13:36:24 -0800 Subject: [PATCH] fix: increase max_retries for acceptance tests function create - Sometimes the function is still being deleted when we exausted the default 5 retries. Increase max_retry for resource_conflict to 8. --- examples/cli.py | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/cli.py b/examples/cli.py index 689d8f0..64b1fd0 100755 --- a/examples/cli.py +++ b/examples/cli.py @@ -345,6 +345,7 @@ def deploy_function(example_name: str, function_name: str | None = None): lambda_client.update_function_code, FunctionName=function_name, ZipFile=zip_content, + max_retries=8, ) retry_on_resource_conflict( lambda_client.update_function_configuration, **function_config