Skip to content

Commit 716117f

Browse files
committed
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
1 parent d00fb82 commit 716117f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

sample-apps/s3-java/5-invoke.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if [ ! -f event.json ]; then
99
1010
fi
1111
while true; do
12-
aws lambda invoke --function-name $FUNCTION --payload file://event.json out.json --cli-binary-format raw-in-base64-out
12+
aws lambda invoke --function-name $FUNCTION --payload file://event.json out.json
1313
cat out.json
1414
echo ""
1515
sleep 2

sample-apps/s3-java/template-mvn.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Resources:
1313
Runtime: java8
1414
Description: Java function
1515
MemorySize: 512
16-
Timeout: 10
16+
Timeout: 30
1717
# Function's execution role
1818
Policies:
1919
- AWSLambdaBasicExecutionRole

sample-apps/s3-java/template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Resources:
1313
Runtime: java8
1414
Description: Java function
1515
MemorySize: 512
16-
Timeout: 10
16+
Timeout: 30
1717
# Function's execution role
1818
Policies:
1919
- AWSLambdaBasicExecutionRole

0 commit comments

Comments
 (0)