Skip to content

Commit

Permalink
Merge pull request #44 from isovalent/fix-deletion-protection-var
Browse files Browse the repository at this point in the history
Fix deletion_protection var
  • Loading branch information
darox authored Dec 3, 2024
2 parents 5c9f6e4 + 83d37de commit 094deb8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ This module depends on the following external tools:
| <a name="input_enable_workload_identity"></a> [enable\_workload\_identity](#input\_enable\_workload\_identity) | Whether to enable workload identity. If enabled, 'netd' is deployed by GKE. | `bool` | `false` | no |
| <a name="input_kubernetes_version"></a> [kubernetes\_version](#input\_kubernetes\_version) | The version of Kubernetes/GKE to use. | `string` | n/a | yes |
| <a name="input_name"></a> [name](#input\_name) | The name of the GKE cluster. | `string` | n/a | yes |
| <a name="input_node_pools"></a> [node\_pools](#input\_node\_pools) | A map describing the set of node pools to create. | <pre>map(object({<br> auto_upgrade = bool<br> auto_repair = bool<br> image_type = string<br> instance_type = string<br> max_nodes = number<br> min_nodes = number<br> preemptible = bool<br> root_volume_size = number<br> root_volume_type = string<br> pod_range = string<br> taints = list(object({<br> effect = string<br> key = string<br> value = string<br> }))<br> }))</pre> | n/a | yes |
| <a name="input_node_pools"></a> [node\_pools](#input\_node\_pools) | A map describing the set of node pools to create. | <pre>map(object({<br/> auto_upgrade = bool<br/> auto_repair = bool<br/> image_type = string<br/> instance_type = string<br/> max_nodes = number<br/> min_nodes = number<br/> preemptible = bool<br/> root_volume_size = number<br/> root_volume_type = string<br/> pod_range = string<br/> taints = list(object({<br/> effect = string<br/> key = string<br/> value = string<br/> }))<br/> }))</pre> | n/a | yes |
| <a name="input_pod_cidr_name"></a> [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 |
| <a name="input_project_id"></a> [project\_id](#input\_project\_id) | The ID of the project in which to create the GKE cluster. | `string` | n/a | yes |
| <a name="input_region"></a> [region](#input\_region) | The region in which to create the GKE cluster. | `string` | n/a | yes |
Expand Down
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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 :
Expand Down

0 comments on commit 094deb8

Please sign in to comment.