Skip to content

Commit

Permalink
Add timeout for terraform execution
Browse files Browse the repository at this point in the history
  • Loading branch information
electrocucaracha committed Jun 3, 2023
1 parent 27bfda0 commit 017bfa8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion e2e/terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ resource "google_compute_instance" "vm_instance" {
inline = [
"cd provision/",
"chmod +x gce_install_sandbox.sh",
"DEBUG=true DEPLOYMENT_TYPE=r1 ./gce_install_sandbox.sh"
"export DEBUG=true",
"timeout --preserve-status 15m ./gce_install_sandbox.sh"
]
}

Expand Down

0 comments on commit 017bfa8

Please sign in to comment.