user3145555
user3145555

Reputation: 63

getting error gcloud not found in nodejs application

I am trying to execute the gcloud commands in node js and getting gcloud is not found. the image is deployed using cloud run.

gcloud auth activate-service-account --key-file=/src/keys.json

/bin/sh: gcloud: not found

Standard Error::: {"stderr":"/bin/sh: gcloud: not found\n"}

can someone tell me how to execute the commands in node js application. I need to get the access token from the service accounts.

Upvotes: 0

Views: 43

Answers (0)

Related Questions