From b3c98c93e30d89e18be24c4ba0d440beeec0730d Mon Sep 17 00:00:00 2001 From: Matthias Kay Date: Thu, 9 Oct 2025 10:40:32 +0200 Subject: [PATCH 1/2] fix: update output path for terminate runner instances lambda --- modules/terminate-agent-hook/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/terminate-agent-hook/main.tf b/modules/terminate-agent-hook/main.tf index 7f5180ae..b37892cb 100644 --- a/modules/terminate-agent-hook/main.tf +++ b/modules/terminate-agent-hook/main.tf @@ -11,7 +11,7 @@ locals { data "archive_file" "terminate_runner_instances_lambda" { type = "zip" source_file = "${path.module}/lambda/terminate_runners.py" - output_path = "builds/lambda_function_${local.source_sha256}.zip" + output_path = "${path.module}/builds/terminate-agent-hook/${var.environment}/${var.name}/lambda_function_${local.source_sha256}.zip" output_file_mode = "0666" } From eded22149c192b4611e467764c4f71293427e38a Mon Sep 17 00:00:00 2001 From: Matthias Kay Date: Thu, 9 Oct 2025 10:48:03 +0200 Subject: [PATCH 2/2] fix: correct output path for terminate runner instances lambda --- modules/terminate-agent-hook/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/terminate-agent-hook/main.tf b/modules/terminate-agent-hook/main.tf index b37892cb..a3ba627c 100644 --- a/modules/terminate-agent-hook/main.tf +++ b/modules/terminate-agent-hook/main.tf @@ -11,7 +11,7 @@ locals { data "archive_file" "terminate_runner_instances_lambda" { type = "zip" source_file = "${path.module}/lambda/terminate_runners.py" - output_path = "${path.module}/builds/terminate-agent-hook/${var.environment}/${var.name}/lambda_function_${local.source_sha256}.zip" + output_path = "${path.module}/builds/${var.environment}/${var.name}/terminate-agent-hook_${local.source_sha256}.zip" output_file_mode = "0666" }