Skip to content

Commit 9cc72b4

Browse files
committed
Move type to list(object({ security_group = string }))
1 parent d507552 commit 9cc72b4

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

autogen/variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,8 +377,8 @@ variable "workload_identity_config" {
377377
}
378378

379379
variable "authenticator_groups_config" {
380-
type = list(map(string))
381-
description = "security_group - The name of the RBAC security group for use with Google security groups in Kubernetes RBAC. Group name must be in format [email protected]"
380+
type = list(object({ security_group = string }))
381+
description = "security_group - The name of the RBAC security group for use with Google security groups in Kubernetes RBAC. Group name must be in format [email protected]. The object format is {security_group = string}"
382382
default = []
383383
}
384384
{% endif %}

modules/beta-private-cluster/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ In either case, upgrading to module version `v1.0.0` will trigger a recreation o
136136

137137
| Name | Description | Type | Default | Required |
138138
|------|-------------|:----:|:-----:|:-----:|
139-
| authenticator\_groups\_config | security_group - The name of the RBAC security group for use with Google security groups in Kubernetes RBAC. Group name must be in format [email protected] | list(map(string)) | `<list>` | no |
139+
| authenticator\_groups\_config | security_group - The name of the RBAC security group for use with Google security groups in Kubernetes RBAC. Group name must be in format [email protected]. The object format is {security_group = string} | object | `<list>` | no |
140140
| basic\_auth\_password | The password to be used with Basic Authentication. | string | `""` | no |
141141
| basic\_auth\_username | The username to be used with Basic Authentication. An empty value will disable Basic Authentication, which is the recommended configuration. | string | `""` | no |
142142
| cloudrun | (Beta) Enable CloudRun addon | string | `"false"` | no |

modules/beta-private-cluster/variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ variable "workload_identity_config" {
374374
}
375375

376376
variable "authenticator_groups_config" {
377-
type = list(map(string))
378-
description = "security_group - The name of the RBAC security group for use with Google security groups in Kubernetes RBAC. Group name must be in format [email protected]"
377+
type = list(object({ security_group = string }))
378+
description = "security_group - The name of the RBAC security group for use with Google security groups in Kubernetes RBAC. Group name must be in format [email protected]. The object format is {security_group = string}"
379379
default = []
380380
}

modules/beta-public-cluster/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ In either case, upgrading to module version `v1.0.0` will trigger a recreation o
131131

132132
| Name | Description | Type | Default | Required |
133133
|------|-------------|:----:|:-----:|:-----:|
134-
| authenticator\_groups\_config | security_group - The name of the RBAC security group for use with Google security groups in Kubernetes RBAC. Group name must be in format [email protected] | list(map(string)) | `<list>` | no |
134+
| authenticator\_groups\_config | security_group - The name of the RBAC security group for use with Google security groups in Kubernetes RBAC. Group name must be in format [email protected]. The object format is {security_group = string} | object | `<list>` | no |
135135
| basic\_auth\_password | The password to be used with Basic Authentication. | string | `""` | no |
136136
| basic\_auth\_username | The username to be used with Basic Authentication. An empty value will disable Basic Authentication, which is the recommended configuration. | string | `""` | no |
137137
| cloudrun | (Beta) Enable CloudRun addon | string | `"false"` | no |

modules/beta-public-cluster/variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ variable "workload_identity_config" {
350350
}
351351

352352
variable "authenticator_groups_config" {
353-
type = list(map(string))
354-
description = "security_group - The name of the RBAC security group for use with Google security groups in Kubernetes RBAC. Group name must be in format [email protected]"
353+
type = list(object({ security_group = string }))
354+
description = "security_group - The name of the RBAC security group for use with Google security groups in Kubernetes RBAC. Group name must be in format [email protected]. The object format is {security_group = string}"
355355
default = []
356356
}

0 commit comments

Comments
 (0)