- A Google Cloud Platform account. If you do not have a GCP account, create one now. This tutorial can be completed using only the services included in the GCP free tier.
- The gcloud CLI installed locally.
- Terraform 0.15.3+ installed locally.
- Project on Google Cloud Console
First authenticate kubectl for cluster access:
gcloud container clusters get-credentials spaceops-gke-default --region=us-west1Terraform set variables:
touch terraform.tfvarsTerraform create resources:
terraform plan
terraform apply
Terraform destroy resources:
terraform destroy