Skip to content

Commit

Permalink
updates on golgendate solution
Browse files Browse the repository at this point in the history
  • Loading branch information
ionelpanaitescu committed Aug 2, 2023
1 parent 1fe4d4a commit 8dafdc4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ module "compute" {
}
}

resource "time_sleep" "wait_3_mins_for_the_instances_to_be_up_and_running" {
resource "time_sleep" "wait_7_mins_for_the_instances_to_be_up_and_running" {
depends_on = [module.compute]
create_duration = "3m"
create_duration = "7m"
}

#Calling the network modules that are required for this solution
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ locals {
# Workers provisioner

resource "null_resource" "Worker1-init-kafka-zk" {
depends_on = [module.compute, module.fss, module.keygen, time_sleep.wait_3_mins_for_the_instances_to_be_up_and_running]
depends_on = [module.compute, module.fss, module.keygen, time_sleep.wait_7_mins_for_the_instances_to_be_up_and_running]
provisioner "remote-exec" {
connection {
type = "ssh"
Expand All @@ -39,7 +39,7 @@ resource "null_resource" "Worker1-init-kafka-zk" {
}

resource "null_resource" "Worker2-init-kafka-zk" {
depends_on = [module.compute, module.fss, module.keygen, time_sleep.wait_3_mins_for_the_instances_to_be_up_and_running]
depends_on = [module.compute, module.fss, module.keygen, time_sleep.wait_7_mins_for_the_instances_to_be_up_and_running]
provisioner "remote-exec" {
connection {
type = "ssh"
Expand All @@ -62,7 +62,7 @@ resource "null_resource" "Worker2-init-kafka-zk" {
}

resource "null_resource" "Worker3-init-kafka-zk" {
depends_on = [module.compute, module.fss, module.keygen, time_sleep.wait_3_mins_for_the_instances_to_be_up_and_running]
depends_on = [module.compute, module.fss, module.keygen, time_sleep.wait_7_mins_for_the_instances_to_be_up_and_running]
provisioner "remote-exec" {
connection {
type = "ssh"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ module "compute" {
}
}

resource "time_sleep" "wait_3_mins_for_the_instances_to_be_up_and_running" {
resource "time_sleep" "wait_7_mins_for_the_instances_to_be_up_and_running" {
depends_on = [module.compute]
create_duration = "3m"
create_duration = "7m"
}

#Calling the network modules that are required for this solution
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ locals {
# Workers provisioner

resource "null_resource" "Worker1-init-kafka-zk" {
depends_on = [module.compute, module.fss, module.keygen, time_sleep.wait_3_mins_for_the_instances_to_be_up_and_running]
depends_on = [module.compute, module.fss, module.keygen, time_sleep.wait_7_mins_for_the_instances_to_be_up_and_running]
provisioner "remote-exec" {
connection {
type = "ssh"
Expand All @@ -39,7 +39,7 @@ resource "null_resource" "Worker1-init-kafka-zk" {
}

resource "null_resource" "Worker2-init-kafka-zk" {
depends_on = [module.compute, module.fss, module.keygen, time_sleep.wait_3_mins_for_the_instances_to_be_up_and_running]
depends_on = [module.compute, module.fss, module.keygen, time_sleep.wait_7_mins_for_the_instances_to_be_up_and_running]
provisioner "remote-exec" {
connection {
type = "ssh"
Expand All @@ -62,7 +62,7 @@ resource "null_resource" "Worker2-init-kafka-zk" {
}

resource "null_resource" "Worker3-init-kafka-zk" {
depends_on = [module.compute, module.fss, module.keygen, time_sleep.wait_3_mins_for_the_instances_to_be_up_and_running]
depends_on = [module.compute, module.fss, module.keygen, time_sleep.wait_7_mins_for_the_instances_to_be_up_and_running]
provisioner "remote-exec" {
connection {
type = "ssh"
Expand Down

0 comments on commit 8dafdc4

Please sign in to comment.