File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -168,6 +168,7 @@ locals {
168
168
cluster_output_istio_disabled = google_container_cluster.primary.addons_config[0].istio_config != null && length(google_container_cluster.primary.addons_config[0].istio_config) == 1 ? google_container_cluster.primary.addons_config[0].istio_config[0].disabled : false
169
169
cluster_output_pod_security_policy_enabled = google_container_cluster.primary.pod_security_policy_config != null && length(google_container_cluster.primary.pod_security_policy_config) == 1 ? google_container_cluster.primary.pod_security_policy_config[0].enabled : false
170
170
cluster_output_intranode_visbility_enabled = google_container_cluster.primary.enable_intranode_visibility
171
+ cluster_output_identity_service_enabled = google_container_cluster.primary.identity_service_config != null && length(google_container_cluster.primary.identity_service_config) == 1 ? google_container_cluster.primary.identity_service_config.0.enabled : false
171
172
172
173
# /BETA features
173
174
{% endif %}
@@ -237,6 +238,7 @@ locals {
237
238
{% endif %}
238
239
cluster_pod_security_policy_enabled = local.cluster_output_pod_security_policy_enabled
239
240
cluster_intranode_visibility_enabled = local.cluster_output_intranode_visbility_enabled
241
+ cluster_identity_service_enabled = local.cluster_output_identity_service_enabled
240
242
241
243
# /BETA features
242
244
{% endif %}
Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ output "intranode_visibility_enabled" {
231
231
232
232
output "identity_service_enabled" {
233
233
description = "Whether Identity Service is enabled"
234
- value = local.cluster_pod_security_policy_enabled
234
+ value = local.cluster_identity_service_enabled
235
235
}
236
236
{% endif %}
237
237
You can’t perform that action at this time.
0 commit comments