In this repo you will find two folders:
- gar
- gke
In gar folder there is a terraform code to create Google Artifact Registry repo.
In gke folder there is a terraform code to create Google Kubernetes Engine cluster. There are the following files:
- provider.tf
- gke.tf
- variables.tf
- values.tfvars
In order to create a GKE, run these:
terraform init
terraform plan --var-file=values.tfvars
terraform apply --var-file=values.tfvars
For the official terraform documentation click here.