diff --git a/lambdas/bedrock_invoker/lambda.tf b/lambdas/bedrock_invoker/lambda.tf index 24d8956..a481f62 100644 --- a/lambdas/bedrock_invoker/lambda.tf +++ b/lambdas/bedrock_invoker/lambda.tf @@ -1,6 +1,6 @@ locals { lambda_function_name = "levio-esta-bedrock-invoker" - timeout = 300 + timeout = 600 runtime = "python3.11" powertools_layer_arn = "arn:aws:lambda:${var.aws_region}:017000801446:layer:AWSLambdaPowertoolsPythonV2:67" } diff --git a/state_machines/rfp_email_form_fill/state_machine.json b/state_machines/rfp_email_form_fill/state_machine.json index 9977db1..d575e59 100644 --- a/state_machines/rfp_email_form_fill/state_machine.json +++ b/state_machines/rfp_email_form_fill/state_machine.json @@ -107,10 +107,12 @@ "Lambda.ServiceException", "Lambda.AWSLambdaException", "Lambda.SdkClientException", - "Lambda.TooManyRequestsException" + "Lambda.TooManyRequestsException", + "ThrottlingException" ], - "IntervalSeconds": 1, - "MaxAttempts": 3 + "MaxAttempts": 4, + "IntervalSeconds": 60, + "JitterStrategy": "FULL" } ], "Type": "Task",