From 96a067043ebd55985fa96dc3f16beb5ced20e88d Mon Sep 17 00:00:00 2001 From: Joalia ONDOUA Date: Sun, 28 Jan 2024 13:30:36 +0000 Subject: [PATCH] fix: lamda-layer/ var.tf modifie --- infra/main.tf | 25 ++++--------------------- infra/vars.tf | 2 +- 2 files changed, 5 insertions(+), 22 deletions(-) diff --git a/infra/main.tf b/infra/main.tf index 490ca7e..6c5ae8e 100644 --- a/infra/main.tf +++ b/infra/main.tf @@ -167,32 +167,15 @@ resource "null_resource" "lambda_layer" { provisioner "local-exec" { command = < HERE - -# resource "null_resource" "test_lamdazip" { -# provisioner "local-exec" { - -# command = "/bin/bash make_lambda_layer/docker_install.sh" -# } -# } - resource "aws_lambda_layer_version" "test_lambda_layer" { filename = "python.zip" layer_name = "test_lambda_layer" diff --git a/infra/vars.tf b/infra/vars.tf index 26d116a..cf09f45 100644 --- a/infra/vars.tf +++ b/infra/vars.tf @@ -62,7 +62,7 @@ variable "TFC_WORKSPACE_NAME" { # ==== Anne Lise ADDS locals { - requirements_path = "../make_lamda_layer/requirements.txt" + requirements_path = "api/requirements.txt" } # variable "container_name" { # default = "lambda_docker"