Skip to content
This repository has been archived by the owner on May 22, 2023. It is now read-only.

Latest commit

 

History

History
12 lines (11 loc) · 825 Bytes

README.md

File metadata and controls

12 lines (11 loc) · 825 Bytes

✨ Heroku buildpack for Google Cloud

This buildpack installs Google Cloud, activates your service account and sets default project and compute zone.

Config vars

  • 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 project
  • ZONE - your Google Cloud compute zone
  • INSTALL_KUBECTL – if set to true, kubectl will also be installed