From 5f86f05bc5323442f1ff6365333d6201e853d81d Mon Sep 17 00:00:00 2001 From: Brendan Wakefield <22670871+betanaught@users.noreply.github.com> Date: Mon, 26 Apr 2021 22:17:20 -0700 Subject: [PATCH] Update commands.txt The lab AMI may need to have the updated version of node, not sure. I used `nvm install 12.1` and `nvm use 12.1` in the EC2 instance before executing the lab, and was able to successfully complete it. --- section_4/live_activity_5/commands.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/section_4/live_activity_5/commands.txt b/section_4/live_activity_5/commands.txt index 3f1649f..be1acc8 100644 --- a/section_4/live_activity_5/commands.txt +++ b/section_4/live_activity_5/commands.txt @@ -4,7 +4,7 @@ aws lambda list-functions --region us-east-1 // Creating our function. -aws lambda create-function --region us-east-1 --function-name "ListS3Buckets" --runtime "nodejs8.10" --role "" --handler "lambda_function.handler" --zip-file fileb:///home/cloud_user/lambda_function.zip +aws lambda create-function --region us-east-1 --function-name "ListS3Buckets" --runtime "nodejs12.x" --role "" --handler "lambda_function.handler" --zip-file fileb:///home/cloud_user/lambda_function.zip // Updating our use case function. aws lambda update-function-configuration --region us-east-1 --function-name "ListS3Buckets" --description "Creating our S3 function via CLI." --timeout 5 --memory-size 256