Skip to content

Commit

Permalink
fix: increase timeout for EC2 termination lambda (#1156)
Browse files Browse the repository at this point in the history
## Description

Increases the timeout to 90s to give the Lambda function more time to
complete. #1149 describes errors in case of big installations (number of
EC2 instances).

## Verification

None.
  • Loading branch information
kayman-mk authored Jul 22, 2024
1 parent c001183 commit 2bf6d3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/terminate-agent-hook/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ resource "aws_lambda_function" "terminate_runner_instances" {
publish = true
role = aws_iam_role.lambda.arn
runtime = "python3.11"
timeout = 30
timeout = 90
kms_key_arn = var.kms_key_id

tags = var.tags
Expand Down

0 comments on commit 2bf6d3d

Please sign in to comment.