Complete Autopilot GKE
Terraform scripts to create a complete GCP Autopilot GKE using the module gke.
To create a complete GCP Autopilot GKE:
terraform init
terraform plan
terraform apply
To delete all resource:
terraform destroy
Requirements
Name |
Version |
|---|---|
>= 1.0 |
|
~> 2.3.1 |
|
~> 6.16.0 |
|
~> 2.4.0 |
|
~> 3.2.1 |
Providers
Name |
Version |
|---|---|
~> 2.3.1 |
|
~> 6.16.0 |
|
~> 2.4.0 |
|
~> 3.2.1 |
Modules
Name |
Source |
Version |
|---|---|---|
../../.. |
n/a |
|
../../../../../../networking/gcp/vpc |
n/a |
Resources
Name |
Type |
|---|---|
resource |
|
resource |
|
data source |
|
data source |
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 |
|
Whether intra-node visibility is enabled. |
|
Whether Istio is enabled. |
|
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 |