1

I have been following this article to configure Endpoints for functions.

I am stuck at the following command

gcloud beta run configurations update \
   --service CLOUD_RUN_SERVICE_NAME  \
   --set-env-vars ENDPOINTS_SERVICE_NAME=YOUR_SERVICE_NAME \
   --project ESP_PROJECT_ID

which is mentioned in the article as I am getting error

ERROR: (gcloud.beta.run.configurations) Invalid choice: 'update'.

I have tried to do gcloud components update as well but nothing seems to work.

Any help will be appreciated. Thanks...

1 Answer 1

2

Seems like the documentation is not upto date.

New command is following

gcloud beta run services update \
   CLOUD_RUN_SERVICE_NAME  \
   --set-env-vars ENDPOINTS_SERVICE_NAME=YOUR_SERVICE_NAME \
   --project ESP_PROJECT_ID
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.