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 \
8282awslocal lambda wait function-active-v2 --function-name resize
8383awslocal lambda put-function-event-invoke-config --function-name resize --maximum-event-age-in-seconds 3600 --maximum-retry-attempts 0
8484
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)
8686awslocal s3api put-bucket-notification-configuration \
8787 --bucket localstack-thumbnails-app-images \
8888 --notification-configuration " {\" LambdaFunctionConfigurations\" : [{\" LambdaFunctionArn\" : \" $fn_resize_arn \" , \" Events\" : [\" s3:ObjectCreated:*\" ]}]}"
@@ -93,9 +93,9 @@ awslocal s3 website s3://webapp --index-document index.html
9393
9494echo
9595echo " 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'
9797echo " 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'
9999
100100echo " Now open the Web app under https://webapp.s3-website.localhost.localstack.cloud:4566/"
101101echo " 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