- Google Kubernetes Engine deployed using Terraform
- For use with Paul Schwarzenberger's AWS, Azure and GCP security course
- create GCP project
- create terraform service account with Project Owner role
- download keys, save and include path to file in bash profile, e.g.
export GOOGLE_CLOUD_KEYFILE_JSON="/Users/username/gcp/serviceaccount.json"
- start new shell
- enable compute-engine API using GCP console
- duplicate the terraform.tfvars.example file
- rename without the .example suffix and enter your GCP project name
- Terraform v 0.14.x
terraform init
terraform workspace new dev
terraform plan
terraform apply