Skip to content
This repository was archived by the owner on Aug 12, 2024. It is now read-only.

Commit 57ec5c5

Browse files
author
Sean Sundberg
committed
Fixes timing issue for logging in to cluster
- Changes the dependency for outputs from the `data.ibm_container_vpc_cluster.config` data source to the `data.ibm_container_cluster_config.cluster` data source (cluster login) closes #87 Signed-off-by: Sean Sundberg <[email protected]>
1 parent 5d9f5dd commit 57ec5c5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

outputs.tf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@ output "name" {
1111
output "resource_group_name" {
1212
value = var.resource_group_name
1313
description = "Name of the resource group containing the cluster."
14-
depends_on = [data.ibm_container_vpc_cluster.config]
14+
depends_on = [data.ibm_container_cluster_config.cluster]
1515
}
1616

1717
output "region" {
1818
value = var.region
1919
description = "Region containing the cluster."
20-
depends_on = [data.ibm_container_vpc_cluster.config]
20+
depends_on = [data.ibm_container_cluster_config.cluster]
2121
}
2222

2323
output "config_file_path" {
2424
value = local.cluster_config
2525
description = "Path to the config file for the cluster."
26-
depends_on = [data.ibm_container_vpc_cluster.config]
26+
depends_on = [data.ibm_container_cluster_config.cluster]
2727
}
2828

2929
output "platform" {
@@ -39,13 +39,13 @@ output "platform" {
3939
}
4040
sensitive = true
4141
description = "Configuration values for the cluster platform"
42-
depends_on = [data.ibm_container_vpc_cluster.config]
42+
depends_on = [data.ibm_container_cluster_config.cluster]
4343
}
4444

4545
output "sync" {
4646
value = local.cluster_name
4747
description = "Value used to sync downstream modules"
48-
depends_on = [data.ibm_container_vpc_cluster.config]
48+
depends_on = [data.ibm_container_cluster_config.cluster]
4949
}
5050

5151
output "total_worker_count" {

0 commit comments

Comments
 (0)