Skip to content

Commit 93eeaf9

Browse files
committed
fix: wait script
1 parent e907f15 commit 93eeaf9

File tree

1 file changed

+15
-0
lines changed
  • solutions/fully-configurable

1 file changed

+15
-0
lines changed

solutions/fully-configurable/main.tf

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,18 @@ module "watsonx_self_managed_ocp" {
3939
watson_discovery_install = var.watson_discovery_install
4040
watson_assistant_install = var.watson_assistant_install
4141
}
42+
43+
resource "null_resource" "wait_for_cloud_pak_deployer_complete" {
44+
provisioner "local-exec" {
45+
command = "${path.module}/../../scripts/wait_for_cpd_pod.sh"
46+
47+
environment = {
48+
KUBECONFIG = data.ibm_container_cluster_config.cluster_config[0].config_file_path
49+
}
50+
}
51+
triggers = {
52+
always_run = timestamp()
53+
}
54+
55+
depends_on = [module.watsonx_self_managed_ocp]
56+
}

0 commit comments

Comments
 (0)