Name | Version |
---|---|
terraform | ~> 1.10 |
~> 6 |
Name | Version |
---|---|
6.13.0 |
No modules.
Name | Type |
---|---|
google_container_cluster.main | resource |
google_container_node_pool.main | resource |
google_compute_zones.main | data source |
google_project.main | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
addons_config | The addons configuration for the cluster. | object({ |
{ |
no |
allow_net_admin | If NET_ADMIN is enabled for the cluster. | bool |
false |
no |
authenticator_groups_config | The authenticator groups configuration for the cluster. | object({ |
null |
no |
cluster_autoscaling | The cluster autoscaling configuration for the cluster. | object({ |
{ |
no |
cluster_description | The description of the cluster. | string |
null |
no |
cluster_location | The location of the cluster. This can be a region or a zone. | string |
null |
no |
cluster_name | The name of the cluster. | string |
n/a | yes |
cluster_subnetwork | The subnetwork for the cluster. | string |
n/a | yes |
default_node_config | Parameters for the default node pool. | object({ |
null |
no |
dns_config | The DNS configuration for the cluster. | object({ |
{ |
no |
enable_autopilot | If autopilot is enabled for the cluster. | bool |
false |
no |
enable_cluster_deletion_protection | If Terraform is allowed to delete the cluster. | bool |
false |
no |
gateway_api_channel | Enables GKE Gateway API support. | string |
"CHANNEL_STANDARD" |
no |
initial_node_count | The initial node count for the cluster. | number |
1 |
no |
ip_allocation_policy | The IP allocation policy configuration for the cluster. | object({ |
n/a | yes |
kubernetes_release_channel | The Kubernetes release channel for the cluster. | string |
"UNSPECIFIED" |
no |
maintenance_policy | The maintenance policy configuration for the cluster. | object({ |
null |
no |
master_authorized_networks_config | The master authorized networks configuration for the cluster. | object({ |
{ |
no |
max_pods_per_node | The maximum number of pods per node for the cluster. | number |
null |
no |
min_master_version | The minimum master version for the cluster. | string |
null |
no |
network | The network for the cluster. | string |
n/a | yes |
network_policy | The network policy configuration for the cluster. | object({ |
null |
no |
networking_mode | The networking mode for the cluster. | string |
"VPC_NATIVE" |
no |
node_config | The node configuration for the cluster. | object({ |
{ |
no |
node_count | The number of nodes in the node pool. | number |
null |
no |
node_locations | The location for the nodes. When defining this value, the cluster location is omitted. | set(string) |
null |
no |
node_pool | A map to create node pools attached to the cluster. | map(object({ |
null |
no |
node_pool_auto_config | The node pool auto configuration for the cluster with autopilot. | object({ |
{} |
no |
node_pool_auto_repair_enabled | If node pool auto repair is enabled for the cluster. | bool |
true |
no |
node_pool_auto_upgrade_enabled | If node pool auto upgrade is enabled for the cluster. | bool |
false |
no |
node_pool_autoscaling | The node pool autoscaling configuration for the cluster. | object({ |
{ |
no |
node_pool_defaults | The node pool defaults configuration for the cluster. | object({ |
{ |
no |
node_pool_name_prefix | The prefix of the node pool name. This will preffix the random unique name if node_pool_name is not provided. | string |
null |
no |
private_cluster_config | The private cluster configuration for the cluster. | object({ |
{ |
no |
project_id | The project ID where the resources will be provisioned. | string |
n/a | yes |
remove_default_node_pool | If the default node pool should be removed. | bool |
true |
no |
resource_labels | The resource labels for the cluster. | map(string) |
{ |
no |
secret_manager_enabled | If secret manager is enabled for the cluster. | bool |
false |
no |
service_external_ips_config | The service external IPs configuration for the cluster. | object({ |
{ |
no |
upgrade_settings | The upgrade settings for the cluster. | object({ |
{ |
no |
vertical_pod_autoscaling_enabled | If vertical pod autoscaling is enabled for the cluster. | bool |
false |
no |
workload_identity_config | The workload identity configuration for the cluster. | object({ |
null |
no |
Name | Description |
---|---|
client_certificate | The client certificate used to authenticate to the Kubernetes cluster |
client_key | The client key used to authenticate to the Kubernetes cluster |
cluster_ca_certificate | The CA certificate of the Kubernetes cluster |
cluster_endpoint | The endpoint of the Kubernetes cluster |
cluster_ipv4_cidr | The IP address range of the Kubernetes pods |
cluster_name | The name of the Kubernetes cluster |
deprecation_warnings | n/a |
node_pools | The list of node pools in the Kubernetes cluster |
services_ipv4_cidr | The IP address range of the Kubernetes services |