Skip to content

Commit babfd75

Browse files
authored
fix: use unique output file name for the lambda function (#1336)
1 parent f5a4e4e commit babfd75

File tree

1 file changed

+1
-1
lines changed
  • modules/terminate-agent-hook

1 file changed

+1
-1
lines changed

modules/terminate-agent-hook/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ locals {
1111
data "archive_file" "terminate_runner_instances_lambda" {
1212
type = "zip"
1313
source_file = "${path.module}/lambda/terminate_runners.py"
14-
output_path = "builds/lambda_function_${local.source_sha256}.zip"
14+
output_path = "${path.module}/builds/${var.environment}/${var.name}/terminate-agent-hook_${local.source_sha256}.zip"
1515
output_file_mode = "0666"
1616
}
1717

0 commit comments

Comments
 (0)