Requirements: Terraform, GCP credentials with permission to create a project Tested with: Terraform v0.12.23, google cloud provider v3.26
You can use an environment variable to set which service account key to use during provisioning export GOOGLE_APPLICATION_CREDENTIALS=/path/to/key
The service account you use must belong to a GCP project that has the necessary APIs enabled (such as billing and resource manager)--if it does not, you may have to enable these APIs manually along the way in those projects
In this directory, run terraform init
then terraform apply
-- you will need to provide a billing_id and organization_id for your GCP project
Once successful, be sure to add the following to your ~/.prefect/config.toml