From 8dc019ca2b17ef1311ce311dc75ebe65314fe409 Mon Sep 17 00:00:00 2001 From: Tim Holm Date: Thu, 2 Oct 2025 15:25:23 +1000 Subject: [PATCH] fix: add a longer deletion timeout for replicated lambda functions --- cloudfront/module/main.tf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cloudfront/module/main.tf b/cloudfront/module/main.tf index 333f8c7..b7348fa 100644 --- a/cloudfront/module/main.tf +++ b/cloudfront/module/main.tf @@ -181,6 +181,10 @@ resource "aws_lambda_function" "origin_request" { timeout = 5 memory_size = 128 publish = true + + timeouts { + delete = "20m" + } } resource "aws_lambda_permission" "allow_cloudfront_origin_request" {