Skip to content

Commit 69e5a12

Browse files
committed
test event
1 parent bc2b389 commit 69e5a12

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

sample-apps/blank/3-invoke.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set -eo pipefail
33
FUNCTION=$(aws cloudformation describe-stack-resource --stack-name blank --logical-resource-id function --query 'StackResourceDetail.PhysicalResourceId' --output text)
44
55
while true; do
6-
aws lambda invoke --function-name $FUNCTION --payload '{}' out.json
6+
aws lambda invoke --function-name $FUNCTION --payload file://event.json out.json
77
cat out.json
88
echo ""
99
sleep 2

sample-apps/blank/event.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"KEY": "VALUE"
3+
}

0 commit comments

Comments
 (0)