aboutsummaryrefslogtreecommitdiffstats
path: root/terraform/lambda.tf
diff options
context:
space:
mode:
Diffstat (limited to 'terraform/lambda.tf')
-rw-r--r--terraform/lambda.tf8
1 files changed, 2 insertions, 6 deletions
diff --git a/terraform/lambda.tf b/terraform/lambda.tf
index e33bc79..714ffa5 100644
--- a/terraform/lambda.tf
+++ b/terraform/lambda.tf
@@ -99,13 +99,9 @@ locals {
resource "null_resource" "prepare_layer" {
provisioner "local-exec" {
command = <<EOT
- cd ${local.layer_dir}
- rm -rf python
- mkdir python
- pip3 install -r ${local.requirements} -t python/
- zip -r ${local.layer_zip} python
+ cd
EOT
- } #removed / at the end of python in line 99
+ }
}
resource "aws_s3_object" "lambda_layer_zip" {
git.ajschof.me — hosted by ajschofield — powered by cgit