feedback
feedback copied to clipboard
[serverless-web-apis]: Step 6 has broken command
On step 6, the command to deploy the test function "gcloud functions deploy bulk-import" is broken due to a missing "" after --max-instances=30.
Instead of
$ gcloud functions deploy bulk-import \
--gen2 \
--trigger-http \
--runtime=nodejs20 \
--allow-unauthenticated \
--max-instances=30
--region=${REGION} \
--source=. \
--entry-point=parseBooks
the code should be:
$ gcloud functions deploy bulk-import \
--gen2 \
--trigger-http \
--runtime=nodejs20 \
--allow-unauthenticated \
--max-instances=30 \
--region=${REGION} \
--source=. \
--entry-point=parseBooks