From 8310ee1b5d65d5b112d891a7eb987ac0856ba9f3 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 6 Apr 2026 14:25:26 -0400 Subject: [PATCH] fix: increase Lambda timeout to 900s to cover CodeBuild poll window Lambda was set to 300s but poll_codebuild_build loops for up to 12 min (720s). Lambda would be killed by AWS before it could report back to CloudFormation. 900s gives a ~180s buffer beyond the poll window. --- deploy/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/main.tf b/deploy/main.tf index 53f6bc9..d072eb7 100644 --- a/deploy/main.tf +++ b/deploy/main.tf @@ -43,7 +43,7 @@ module "eks_terragrunt_repo_generator" { lambda_config = { image_uri = "${data.aws_caller_identity.current.account_id}.dkr.ecr.${data.aws_region.current.name}.amazonaws.com/eks-terragrunt-repo-generator/lambda:${var.image_tag}" memory_size = 512 - timeout = 300 + timeout = 900 # must exceed CodeBuild poll window (12 min = 720s) # VPC configuration (required for GitHub Enterprise access) vpc_config = var.enable_vpc ? {