File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ awslocal lambda create-function \
82
82
awslocal lambda wait function-active-v2 --function-name resize
83
83
awslocal lambda put-function-event-invoke-config --function-name resize --maximum-event-age-in-seconds 3600 --maximum-retry-attempts 0
84
84
85
- fn_resize_arn=$( awslocal lambda get-function --function-name resize | jq -r .Configuration.FunctionArn)
85
+ fn_resize_arn=$( awslocal lambda get-function --function-name resize --output json | jq -r .Configuration.FunctionArn)
86
86
awslocal s3api put-bucket-notification-configuration \
87
87
--bucket localstack-thumbnails-app-images \
88
88
--notification-configuration " {\" LambdaFunctionConfigurations\" : [{\" LambdaFunctionArn\" : \" $fn_resize_arn \" , \" Events\" : [\" s3:ObjectCreated:*\" ]}]}"
@@ -93,9 +93,9 @@ awslocal s3 website s3://webapp --index-document index.html
93
93
94
94
echo
95
95
echo " Fetching function URL for 'presign' Lambda..."
96
- awslocal lambda list-function-url-configs --function-name presign | jq -r ' .FunctionUrlConfigs[0].FunctionUrl'
96
+ awslocal lambda list-function-url-configs --function-name presign --output json | jq -r ' .FunctionUrlConfigs[0].FunctionUrl'
97
97
echo " Fetching function URL for 'list' Lambda..."
98
- awslocal lambda list-function-url-configs --function-name list | jq -r ' .FunctionUrlConfigs[0].FunctionUrl'
98
+ awslocal lambda list-function-url-configs --function-name list --output json | jq -r ' .FunctionUrlConfigs[0].FunctionUrl'
99
99
100
100
echo " Now open the Web app under https://webapp.s3-website.localhost.localstack.cloud:4566/"
101
101
echo " and paste the function URLs above (make sure to use https:// as protocol)"
You can’t perform that action at this time.
0 commit comments