diff options
| author | Alex Schofield <git@ajschof.me> | 2024-08-19 21:09:26 +0100 |
|---|---|---|
| committer | Alex Schofield <git@ajschof.me> | 2024-08-19 21:09:26 +0100 |
| commit | f035f60c7ece05b70275760238c5513b8f113310 (patch) | |
| tree | 9ae8767cf18fe5d7e55c8b7fbb9d097752e34d20 /terraform | |
| parent | cfd6b462a874da77ada8facb3b2a3c0e85059fa4 (diff) | |
| download | de-project-bentley-f035f60c7ece05b70275760238c5513b8f113310.tar.gz de-project-bentley-f035f60c7ece05b70275760238c5513b8f113310.zip | |
docs(tf): add information about layer zip creation
Diffstat (limited to 'terraform')
| -rw-r--r-- | terraform/lambda.tf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/terraform/lambda.tf b/terraform/lambda.tf index b1e0d8e..fc10431 100644 --- a/terraform/lambda.tf +++ b/terraform/lambda.tf @@ -16,6 +16,8 @@ locals { resource "null_resource" "prepare_layer" { + # New change: only run the script if the layer zip does not exist + triggers = { layer_zip_exists = fileexists(local.layer_zip_path) ? "exists" : "not_exists" } |
