@@ -96,6 +96,7 @@ locals {
9696 }
9797 boot_node_host_path = " "
9898 bootstrap_nodes_path = " "
99+ wait = true
99100 } : null
100101
101102 p2p_bootstrap = var.DEPLOY_INTERNAL_BOOTNODE ? {
@@ -111,6 +112,7 @@ locals {
111112 }
112113 boot_node_host_path = " "
113114 bootstrap_nodes_path = " "
115+ wait = true
114116 } : null
115117
116118 validators = {
@@ -152,6 +154,7 @@ locals {
152154 }
153155 boot_node_host_path = " validator.node.env.BOOT_NODE_HOST"
154156 bootstrap_nodes_path = " validator.node.env.BOOTSTRAP_NODES"
157+ wait = true
155158 }
156159
157160 prover = {
@@ -176,6 +179,7 @@ locals {
176179 }
177180 boot_node_host_path = " node.node.env.BOOT_NODE_HOST"
178181 bootstrap_nodes_path = " node.node.env.BOOTSTRAP_NODES"
182+ wait = true
179183 }
180184
181185 rpc = {
@@ -213,6 +217,7 @@ locals {
213217 }
214218 boot_node_host_path = " node.env.BOOT_NODE_HOST"
215219 bootstrap_nodes_path = " node.env.BOOTSTRAP_NODES"
220+ wait = true
216221 }
217222
218223 # Optional: transfer bots
@@ -235,6 +240,7 @@ locals {
235240 }
236241 boot_node_host_path = " "
237242 bootstrap_nodes_path = " "
243+ wait = false
238244 } : null
239245
240246 # Optional: AMM swap bots
@@ -257,6 +263,7 @@ locals {
257263 }
258264 boot_node_host_path = " "
259265 bootstrap_nodes_path = " "
266+ wait = false
260267 } : null
261268 }
262269}
@@ -276,7 +283,7 @@ resource "helm_release" "releases" {
276283 recreate_pods = true
277284 reuse_values = false
278285 timeout = 600
279- wait = true
286+ wait = each . value . wait
280287 wait_for_jobs = true
281288
282289 values = concat (
0 commit comments