We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc2b389 commit 69e5a12Copy full SHA for 69e5a12
sample-apps/blank/3-invoke.sh
@@ -3,7 +3,7 @@ set -eo pipefail
3
FUNCTION=$(aws cloudformation describe-stack-resource --stack-name blank --logical-resource-id function --query 'StackResourceDetail.PhysicalResourceId' --output text)
4
5
while true; do
6
- aws lambda invoke --function-name $FUNCTION --payload '{}' out.json
+ aws lambda invoke --function-name $FUNCTION --payload file://event.json out.json
7
cat out.json
8
echo ""
9
sleep 2
sample-apps/blank/event.json
@@ -0,0 +1,3 @@
1
+{
2
+ "KEY": "VALUE"
+}
0 commit comments