This buildpack installs Google Cloud, activates your service account and sets default project and compute zone.
GOOGLE_CREDENTIALS
– a base64-encoded Google Cloud service account key file (in JSON format) – see gcloud auth activate-service-account. Given that you have a key filekey-file.json
, run the following to encode it in base64 and store the resulting base64 string in config varGOOGLE_CREDENTIALS
:
GOOGLE_CREDENTIALS=$(base64 key-file.json)
heroku config:set GOOGLE_CREDENTIALS=$GOOGLE_CREDENTIALS
PROJECT
– your Google Cloud projectZONE
- your Google Cloud compute zoneINSTALL_KUBECTL
– if set totrue
,kubectl
will also be installed