Skip to content

Commit bf53e20

Browse files
authored
fix: run cluster_config data block for ocp_console_management(#609)
1 parent ae9d8a8 commit bf53e20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ resource "null_resource" "reset_api_key" {
299299
##############################################################################
300300

301301
data "ibm_container_cluster_config" "cluster_config" {
302-
count = var.verify_worker_network_readiness || lookup(var.addons, "cluster-autoscaler", null) != null ? 1 : 0
302+
count = var.enable_ocp_console || var.verify_worker_network_readiness || lookup(var.addons, "cluster-autoscaler", null) != null ? 1 : 0
303303
cluster_name_id = local.cluster_id
304304
config_dir = "${path.module}/kubeconfig"
305305
admin = true # workaround for https://github.com/terraform-ibm-modules/terraform-ibm-base-ocp-vpc/issues/374

0 commit comments

Comments
 (0)