Skip to content

Commit 8176268

Browse files
Fix issue with Instance Pool on Autoscaling
1 parent 344d152 commit 8176268

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoscaling/tf_init/outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ output "ocids" {
88
value = join(",", local.cluster_instances_ids)
99
}
1010
output "cluster_ocid" {
11-
value = oci_core_cluster_network.cluster_network[0].id
11+
value = var.cluster_network ? oci_core_cluster_network.cluster_network[0].id : oci_core_instance_pool.instance_pool[0].id
1212
}
1313

0 commit comments

Comments
 (0)