You need to setup gtodo and reuse that client. $ gcloud functions deploy Todofun --region=asia-northeast1 --runtime=go111 --trigger-http