aboutsummaryrefslogtreecommitdiffstats
path: root/terraform-ci-infra/3n_aws_c5n/deploy/main.tf
diff options
context:
space:
mode:
Diffstat (limited to 'terraform-ci-infra/3n_aws_c5n/deploy/main.tf')
-rw-r--r--terraform-ci-infra/3n_aws_c5n/deploy/main.tf15
1 files changed, 15 insertions, 0 deletions
diff --git a/terraform-ci-infra/3n_aws_c5n/deploy/main.tf b/terraform-ci-infra/3n_aws_c5n/deploy/main.tf
index 6559bbf70d..7c029c6c54 100644
--- a/terraform-ci-infra/3n_aws_c5n/deploy/main.tf
+++ b/terraform-ci-infra/3n_aws_c5n/deploy/main.tf
@@ -385,6 +385,11 @@ resource "null_resource" "deploy_tg" {
}
}
}
+
+ provisioner "remote-exec" {
+ on_failure = continue
+ inline = ["sudo reboot"]
+ }
}
resource "null_resource" "deploy_dut1" {
@@ -418,6 +423,11 @@ resource "null_resource" "deploy_dut1" {
}
}
}
+
+ provisioner "remote-exec" {
+ on_failure = continue
+ inline = ["sudo reboot"]
+ }
}
resource "null_resource" "deploy_dut2" {
@@ -451,6 +461,11 @@ resource "null_resource" "deploy_dut2" {
}
}
}
+
+ provisioner "remote-exec" {
+ on_failure = continue
+ inline = ["sudo reboot"]
+ }
}
resource "null_resource" "deploy_topology" {