From 5a6294b79e95c8fa05c5ba29681ec3a4b37f03e9 Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Wed, 11 Mar 2026 17:45:15 +0000 Subject: [PATCH] exclude tests from lambda zip --- .../terraform/modules/lambda_with_api_gateway/variables.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure/terraform/modules/lambda_with_api_gateway/variables.tf b/infrastructure/terraform/modules/lambda_with_api_gateway/variables.tf index b32380de..ba2d844e 100644 --- a/infrastructure/terraform/modules/lambda_with_api_gateway/variables.tf +++ b/infrastructure/terraform/modules/lambda_with_api_gateway/variables.tf @@ -6,7 +6,7 @@ variable "runtime" { type = string } variable "zip_excludes" { type = list(string) - default = ["**/__pycache__/**", "**/*.pyc", "**/.pytest_cache/**"] + default = ["**/__pycache__/**", "**/*.pyc", "**/.pytest_cache/**", "**/tests/**"] } variable "timeout" {