diff --git a/README.md b/README.md index 8e52bf1..b00637b 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ This module depends on the following external tools: | [enable\_workload\_identity](#input\_enable\_workload\_identity) | Whether to enable workload identity. If enabled, 'netd' is deployed by GKE. | `bool` | `false` | no | | [kubernetes\_version](#input\_kubernetes\_version) | The version of Kubernetes/GKE to use. | `string` | n/a | yes | | [name](#input\_name) | The name of the GKE cluster. | `string` | n/a | yes | -| [node\_pools](#input\_node\_pools) | A map describing the set of node pools to create. |
map(object({
auto_upgrade = bool
auto_repair = bool
image_type = string
instance_type = string
max_nodes = number
min_nodes = number
preemptible = bool
root_volume_size = number
root_volume_type = string
pod_range = string
taints = list(object({
effect = string
key = string
value = string
}))
}))
| n/a | yes | +| [node\_pools](#input\_node\_pools) | A map describing the set of node pools to create. |
map(object({
auto_upgrade = bool
auto_repair = bool
image_type = string
instance_type = string
max_nodes = number
min_nodes = number
preemptible = bool
root_volume_size = number
root_volume_type = string
pod_range = string
taints = list(object({
effect = string
key = string
value = string
}))
}))
| n/a | yes | | [pod\_cidr\_name](#input\_pod\_cidr\_name) | The name of the secondary CIDR used for pods. Must be created separately as a secondary CIDR on the subnet used for the cluster. | `string` | n/a | yes | | [project\_id](#input\_project\_id) | The ID of the project in which to create the GKE cluster. | `string` | n/a | yes | | [region](#input\_region) | The region in which to create the GKE cluster. | `string` | n/a | yes | diff --git a/main.tf b/main.tf index 0fc942a..3355214 100644 --- a/main.tf +++ b/main.tf @@ -34,6 +34,7 @@ module "main" { region = var.region subnetwork = var.subnet_id zones = [] + deletion_protection = var.deletion_protection node_pools = [ for key, node_pool in var.node_pools :