Simple GKE
Terraform scripts to create a simple GCP GKE using the module gke.
To create a simple GCP GKE:
terraform init
terraform plan
terraform apply
To delete all resource:
terraform destroy
Requirements
Name |
Version |
|---|---|
>= 1.0 |
|
~> 6.16.0 |
Providers
No providers.
Modules
Name |
Source |
Version |
|---|---|---|
../../../gke |
n/a |
|
../../../../../networking/gcp/vpc |
n/a |
Resources
No resources.
Inputs
Name |
Description |
Type |
Default |
Required |
|---|---|---|---|---|
Project name |
|
n/a |
yes |
|
The region to host the cluster in |
|
|
no |
Outputs
Name |
Description |
|---|---|
Cluster ca certificate (base64 encoded). |
|
GKE cluster ID. |
|
Cluster endpoint |
|
Path where the kubeconfig file is saved. |
|
Cluster location (region if regional cluster, zone if zonal cluster) |
|
GKE cluster name. |
|
List of node pools names. |
|
Cluster region. |
|
The service account to default running nodes as if not overridden in |
|
GKE cluster type (regional / zonal). |
|
List of zones in which the cluster resides |