| Name | Version |
|---|---|
| terraform | >= 1.5.0 |
| >= 5.33.0 | |
| google-beta | >= 5.33.0 |
| Name | Version |
|---|---|
| 7.12.0 |
No modules.
| Name | Type |
|---|---|
| google_compute_network.vpc | resource |
| google_compute_router.router | resource |
| google_compute_router_nat.nat | resource |
| google_compute_subnetwork.gke | resource |
| google_container_cluster.cluster | resource |
| google_container_node_pool.default | resource |
| google_gke_backup_backup_plan.plan | resource |
| google_service_account.nodes | resource |
| google_client_config.provider | data source |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| backup_name | The name of the application to include in the GKE backup. | string |
"default" |
no |
| backup_namespace | The namespace to include in the GKE backup. | string |
"default" |
no |
| backup_retention_days | Number of days to retain backups. | number |
7 |
no |
| enable_backup | Whether to enable GKE Backup for the cluster. | bool |
true |
no |
| enable_private_endpoint | Whether to create a private endpoint for the GKE cluster master. | bool |
true |
no |
| gke_release_channel | GKE release channel for the cluster. | string |
"REGULAR" |
no |
| master_authorized_networks | List of authorized networks for the GKE master. | list(object({ |
n/a | yes |
| master_ipv4_cidr_block | CIDR block for GKE master authorized networks | string |
"172.16.0.0/28" |
no |
| node_count | Initial number of nodes for the default node pool. | number |
1 |
no |
| node_machine_type | Machine type for the GKE nodes. | string |
n/a | yes |
| node_pool_max_count | Maximum number of nodes for the default node pool autoscaling. | number |
3 |
no |
| node_pool_min_count | Minimum number of nodes for the default node pool autoscaling. | number |
1 |
no |
| pods_secondary_cidr | Secondary range for Pods (alias IP) | string |
n/a | yes |
| private_cluster | Whether to create a private GKE cluster. | bool |
true |
no |
| project_id | GCP project ID | string |
n/a | yes |
| region | Default region | string |
n/a | yes |
| services_secondary_cidr | Secondary range for Services (alias IP) | string |
n/a | yes |
| subnet_cidr | Primary subnet CIDR for nodes | string |
n/a | yes |
| Name | Description |
|---|---|
| cluster_endpoint | n/a |
| cluster_name | n/a |
| network_name | n/a |
| subnet_name | n/a |