From 716117f5c181bf31ae4f5037e9b167e980443677 Mon Sep 17 00:00:00 2001 From: Alexander Yu Date: Fri, 9 Sep 2022 11:53:32 -0700 Subject: [PATCH] Address comments from @mwunderl - Revert changes to 5-invoke.sh script after noting config change - Update function timeout from 10s -> 30s in CFN stack templates --- sample-apps/s3-java/5-invoke.sh | 2 +- sample-apps/s3-java/template-mvn.yml | 2 +- sample-apps/s3-java/template.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sample-apps/s3-java/5-invoke.sh b/sample-apps/s3-java/5-invoke.sh index d2ae6adc..d65db099 100755 --- a/sample-apps/s3-java/5-invoke.sh +++ b/sample-apps/s3-java/5-invoke.sh @@ -9,7 +9,7 @@ if [ ! -f event.json ]; then fi while true; do - aws lambda invoke --function-name $FUNCTION --payload file://event.json out.json --cli-binary-format raw-in-base64-out + aws lambda invoke --function-name $FUNCTION --payload file://event.json out.json cat out.json echo "" sleep 2 diff --git a/sample-apps/s3-java/template-mvn.yml b/sample-apps/s3-java/template-mvn.yml index dff099bc..be8d8527 100644 --- a/sample-apps/s3-java/template-mvn.yml +++ b/sample-apps/s3-java/template-mvn.yml @@ -13,7 +13,7 @@ Resources: Runtime: java8 Description: Java function MemorySize: 512 - Timeout: 10 + Timeout: 30 # Function's execution role Policies: - AWSLambdaBasicExecutionRole diff --git a/sample-apps/s3-java/template.yml b/sample-apps/s3-java/template.yml index a576f664..c82e5ac0 100644 --- a/sample-apps/s3-java/template.yml +++ b/sample-apps/s3-java/template.yml @@ -13,7 +13,7 @@ Resources: Runtime: java8 Description: Java function MemorySize: 512 - Timeout: 10 + Timeout: 30 # Function's execution role Policies: - AWSLambdaBasicExecutionRole