This project stimulates a GKE infrastructure created by Terraform/Terragrunt with VPC, Subnet, GKE cluster and Node Pool
Authenticate with Google account
gcloud auth login
gcloud auth application-default login
Provision GCS as Terraform backend
cd provision-gcs-backend
terraform init
terraform plan --out "tfplan"
terraform apply "tfplan"
Provision GKE cluster to both UAT and Production environment
cd live
terragrunt run-all apply
cd live/uat
gcloud container clusters get-credentials <cluster_name> --region <region>
kubectl cluster-info
cd live
terragrunt run-all destroy
cd ../provision-gcs-backend
terraform destroy
Distributed under the MIT License. See LICENSE for more information.