From 57012f3c2aa17bb15d653bdb2beeb2c5ed2e3f34 Mon Sep 17 00:00:00 2001 From: Shubham Rai Date: Fri, 29 Nov 2024 18:42:01 +0530 Subject: [PATCH 1/2] made network_vpc_secondary_ranges optional --- variables.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/variables.tf b/variables.tf index f7a0292..f0e712d 100644 --- a/variables.tf +++ b/variables.tf @@ -91,6 +91,7 @@ variable "network_vpc_secondary_ranges" { range_name = string ip_cidr_range = string })) + default = [] } variable "enable_private_access" { From a0a902d944f1e6d15a4f762b6f7eca3318d2067d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 29 Nov 2024 13:12:28 +0000 Subject: [PATCH 2/2] terraform-docs: automated action --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8acc027..b234f97 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Truefoundry Google Cloud Network Module | [enable\_flow\_logs](#input\_enable\_flow\_logs) | Enable flow logs for subnets | `bool` | `false` | no | | [enable\_private\_access](#input\_enable\_private\_access) | Private access for subnets | `bool` | `true` | no | | [network\_name](#input\_network\_name) | SHIM: network name. Should be supplied if shim is true. | `string` | `""` | no | -| [network\_vpc\_secondary\_ranges](#input\_network\_vpc\_secondary\_ranges) | List of secondary ranges |
list(object({
range_name = string
ip_cidr_range = string
}))
| n/a | yes | +| [network\_vpc\_secondary\_ranges](#input\_network\_vpc\_secondary\_ranges) | List of secondary ranges |
list(object({
range_name = string
ip_cidr_range = string
}))
| `[]` | no | | [private\_subnet\_cidr](#input\_private\_subnet\_cidr) | CIDR range for private subnet | `string` | `""` | no | | [project\_id](#input\_project\_id) | Project ID in which clusters are deployed | `string` | n/a | yes | | [region](#input\_region) | Region to deploy your cluster in | `string` | n/a | yes |