This repository contains Terraform scripts to create Google Kubernetes Engine(GKE) with Workload Identity feature enabled.
-
Clone this git repository.
-
Update
terraform.tfvars
file with desired values. -
Initialize terraform project.
terraform init
- Run terraform plan and output to a file.
terraform plan --out 1.plan
- If happy with the plan, proceed with apply.
terraform apply 1.plan
- For Cleanup, run terraform destroy
terraform destroy