Skip to content

Commit 25aed41

Browse files
committed
Change default value to null
1 parent 7982705 commit 25aed41

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

autogen/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ locals {
7171
node_metadata = var.node_metadata
7272
}]
7373

74-
cluster_authenticator_security_group = var.authenticator_security_group == "" ? [] : [{
74+
cluster_authenticator_security_group = var.authenticator_security_group == null ? [] : [{
7575
security_group = var.authenticator_security_group
7676
}]
7777

autogen/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ variable "identity_namespace" {
386386
variable "authenticator_security_group" {
387387
type = string
388388
description = "The name of the RBAC security group for use with Google security groups in Kubernetes RBAC. Group name must be in format [email protected]"
389-
default = ""
389+
default = null
390390
}
391391

392392
{% 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\_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] | string | `""` | no |
139+
| authenticator\_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] | string | `"null"` | 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/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ locals {
6666
node_metadata = var.node_metadata
6767
}]
6868

69-
cluster_authenticator_security_group = var.authenticator_security_group == "" ? [] : [{
69+
cluster_authenticator_security_group = var.authenticator_security_group == null ? [] : [{
7070
security_group = var.authenticator_security_group
7171
}]
7272

modules/beta-private-cluster/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,6 @@ variable "identity_namespace" {
383383
variable "authenticator_security_group" {
384384
type = string
385385
description = "The name of the RBAC security group for use with Google security groups in Kubernetes RBAC. Group name must be in format [email protected]"
386-
default = ""
386+
default = null
387387
}
388388

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\_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] | string | `""` | no |
134+
| authenticator\_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] | string | `"null"` | 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/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ locals {
6666
node_metadata = var.node_metadata
6767
}]
6868

69-
cluster_authenticator_security_group = var.authenticator_security_group == "" ? [] : [{
69+
cluster_authenticator_security_group = var.authenticator_security_group == null ? [] : [{
7070
security_group = var.authenticator_security_group
7171
}]
7272

modules/beta-public-cluster/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,6 @@ variable "identity_namespace" {
359359
variable "authenticator_security_group" {
360360
type = string
361361
description = "The name of the RBAC security group for use with Google security groups in Kubernetes RBAC. Group name must be in format [email protected]"
362-
default = ""
362+
default = null
363363
}
364364

0 commit comments

Comments
 (0)