feedback icon indicating copy to clipboard operation
feedback copied to clipboard

[serverless-web-apis]: Step 6 has broken command

Open andrelago13 opened this issue 2 years ago • 0 comments

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

andrelago13 avatar Dec 11 '23 15:12 andrelago13