diff --git a/infra/api/make_lamda_layer/requirements.txt b/infra/api/make_lamda_layer/requirements.txt new file mode 100644 index 0000000..73cf4e4 --- /dev/null +++ b/infra/api/make_lamda_layer/requirements.txt @@ -0,0 +1,9 @@ +beautifulsoup4==4.9.1 +certifi==2022.12.7 +chardet==3.0.4 +idna==2.10 +requests==2.31.0 +soupsieve==2.0.1 +zulip==0.8.2 +sentry-sdk==1.14.0 +python-lambda==11.8.0 diff --git a/infra/main.tf b/infra/main.tf index 59d4765..f92db16 100644 --- a/infra/main.tf +++ b/infra/main.tf @@ -160,36 +160,39 @@ resource "aws_lambda_permission" "apigw_lambda" { # create zip file from requirements.txt. Triggers only when the file is updated resource "null_resource" "lambda_layer" { - triggers = { - requirements = filesha1(local.requirements_path) - } + # triggers = { + # requirements = filesha1(local.requirements_path) + # } # the command to install python and dependencies to the machine and zips provisioner "local-exec" { command = <