Skip to content

Commit fdd8e82

Browse files
committed
Fix outputs
1 parent 1e52ba7 commit fdd8e82

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

autogen/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ locals {
299299
cluster_istio_enabled = !local.cluster_type_output_istio_enabled[local.cluster_type]
300300
cluster_cloudrun_enabled = var.cloudrun
301301
cluster_pod_security_policy_enabled = local.cluster_type_output_pod_security_policy_enabled[local.cluster_type]
302-
cluster_intranode_visibility_enabled = local.cluster_intranode_visibility_enabled[local.cluster_type]
302+
cluster_intranode_visibility_enabled = local.cluster_type_output_intranode_visbility_enabled[local.cluster_type]
303303
cluster_vertical_pod_autoscaling_enabled = local.cluster_type_output_vertical_pod_autoscaling_enabled[local.cluster_type]
304304
# /BETA features
305305
{% endif %}

autogen/outputs.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,12 +144,12 @@ output "pod_security_policy_enabled" {
144144

145145
output "intranode_visibility_enabled" {
146146
description = "Whether intra-node visibility is enabled"
147-
value = var.enable_intranode_visibility
147+
value = local.cluster_intranode_visibility_enabled
148148
}
149149

150150
output "vertical_pod_autoscaling_enabled" {
151151
description = "Whether veritical pod autoscaling is enabled"
152-
value = var.enable_vertical_pod_autoscaling
152+
value = local.cluster_vertical_pod_autoscaling_enabled
153153
}
154154

155155
{% endif %}

modules/beta-private-cluster/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ locals {
280280
cluster_istio_enabled = ! local.cluster_type_output_istio_enabled[local.cluster_type]
281281
cluster_cloudrun_enabled = var.cloudrun
282282
cluster_pod_security_policy_enabled = local.cluster_type_output_pod_security_policy_enabled[local.cluster_type]
283-
cluster_intranode_visibility_enabled = local.cluster_intranode_visibility_enabled[local.cluster_type]
283+
cluster_intranode_visibility_enabled = local.cluster_type_output_intranode_visbility_enabled[local.cluster_type]
284284
cluster_vertical_pod_autoscaling_enabled = local.cluster_type_output_vertical_pod_autoscaling_enabled[local.cluster_type]
285285
# /BETA features
286286
}

modules/beta-private-cluster/outputs.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,11 @@ output "pod_security_policy_enabled" {
143143

144144
output "intranode_visibility_enabled" {
145145
description = "Whether intra-node visibility is enabled"
146-
value = var.enable_intranode_visibility
146+
value = local.cluster_intranode_visibility_enabled
147147
}
148148

149149
output "vertical_pod_autoscaling_enabled" {
150150
description = "Whether veritical pod autoscaling is enabled"
151-
value = var.enable_vertical_pod_autoscaling
151+
value = local.cluster_vertical_pod_autoscaling_enabled
152152
}
153153

modules/beta-public-cluster/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ locals {
282282
cluster_istio_enabled = ! local.cluster_type_output_istio_enabled[local.cluster_type]
283283
cluster_cloudrun_enabled = var.cloudrun
284284
cluster_pod_security_policy_enabled = local.cluster_type_output_pod_security_policy_enabled[local.cluster_type]
285-
cluster_intranode_visibility_enabled = local.cluster_intranode_visibility_enabled[local.cluster_type]
285+
cluster_intranode_visibility_enabled = local.cluster_type_output_intranode_visbility_enabled[local.cluster_type]
286286
cluster_vertical_pod_autoscaling_enabled = local.cluster_type_output_vertical_pod_autoscaling_enabled[local.cluster_type]
287287
# /BETA features
288288
}

modules/beta-public-cluster/outputs.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,11 @@ output "pod_security_policy_enabled" {
143143

144144
output "intranode_visibility_enabled" {
145145
description = "Whether intra-node visibility is enabled"
146-
value = var.enable_intranode_visibility
146+
value = local.cluster_intranode_visibility_enabled
147147
}
148148

149149
output "vertical_pod_autoscaling_enabled" {
150150
description = "Whether veritical pod autoscaling is enabled"
151-
value = var.enable_vertical_pod_autoscaling
151+
value = local.cluster_vertical_pod_autoscaling_enabled
152152
}
153153

0 commit comments

Comments
 (0)