hardgcloud

Update a single environment variable on a deployed Cloud Function without redeploying code

command

gcloud functions deploy FUNCTION_NAME --update-env-vars KEY=VALUE

also accepted

gcloud functions deploygcloud functions deploy FUNCTION_NAME --update-env-vars

Test your recall — not just your reading.

Practice with interactive quiz →