GitHub Readme.md
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 file key-file.json
, run the following to encode it in base64 and store the resulting base64 string in config var GOOGLE_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 to true
, kubectl
will also be installedCopy the snippet above into CLI.