From d31bd2ae89f3aae6faafc463b156ef214bc5dfef Mon Sep 17 00:00:00 2001 From: bertrand <bpinel@ippon.fr> Date: Sun, 2 Dec 2018 14:54:04 +0100 Subject: [PATCH] fully working terraform script with updated README... --- cloud/terraform/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cloud/terraform/README.md b/cloud/terraform/README.md index 6612765..743f9d8 100644 --- a/cloud/terraform/README.md +++ b/cloud/terraform/README.md @@ -24,7 +24,8 @@ The script is available in the cloud/lambda directory of this project. The following operations need to be performed (adapting the region you are using): ``` -zip lambda-jsonapi.zip ../lambda/lambda-jsonapi.js +cp ../lambda/lambda-jsonapi.js . +zip lambda-jsonapi.zip lambda-jsonapi.js aws s3api create-bucket --bucket=lambda-jsonapi-code-bucket --region=us-east-1 aws s3 cp lambda-jsonapi.zip s3://lambda-jsonapi-code-bucket/v1.0.0/lambda-jsonapi.zip ``` -- GitLab