From 2d5357ed7a1964d55a18f66bad6784201cf4c44a Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Thu, 12 Mar 2026 13:51:04 +0000 Subject: [PATCH] ensure pip install takes place every run --- .../terraform/modules/lambda_with_api_gateway/main.tf | 4 ---- 1 file changed, 4 deletions(-) diff --git a/infrastructure/terraform/modules/lambda_with_api_gateway/main.tf b/infrastructure/terraform/modules/lambda_with_api_gateway/main.tf index 8af51420..f33f8d5b 100644 --- a/infrastructure/terraform/modules/lambda_with_api_gateway/main.tf +++ b/infrastructure/terraform/modules/lambda_with_api_gateway/main.tf @@ -12,10 +12,6 @@ module "role" { resource "null_resource" "pip_install" { count = var.requirements_file != null ? 1 : 0 - triggers = { - requirements_hash = filemd5("${var.requirements_file}") - } - provisioner "local-exec" { command = "pip install -r ${var.requirements_file} -t ${var.source_dir} --platform manylinux2014_x86_64 --implementation cp --python-version 3.11 --only-binary=:all: --upgrade" }