-> **Note:** Due to limitations of the API, all arguments except `node_version` are non-updateable (changing any will cause recreation of the whole cluster).
## Example usage
```
resource "google_container_cluster" "primary" {
name = "marcellus-wallace"
zone = "us-central1-a"
initial_node_count = 3
master_auth {
username = "mr.yoda"
password = "adoy.rm"
}
}
```
## Argument Reference
*`name` - (Required) The name of the cluster, unique within the project and zone
*`zone` - (Required) The zone that all resources should be created in.
*`master_auth` - (Required) The authentication information for accessing the Kubernetes master
*`initial_node_count` - (Required) The number of nodes to create in this cluster (not including the Kubernetes master)
*`description` - (Optional) Description of the cluster
*`node_version` - (Optional) The Kubernetes version on the nodes. Only valid for upgrading of existing cluster.
Defaults to latest version supported by the server.
*`cluster_ipv4_cidr` - (Optional) The IP address range of the container pods in this cluster.
Default is an automatically assigned CIDR.
*`logging_service` - (Optional) The logging service that the cluster should write logs to.
Available options include `logging.googleapis.com` and `none`. Defaults to `logging.googleapis.com`
*`monitoring_service` - (Optional) The monitoring service that the cluster should write metrics to.
Available options include `monitoring.googleapis.com` and `none`. Defaults to `monitoring.googleapis.com`
*`network` - (Optional) The name of the Google Compute Engine network to which the cluster is connected