Skip to content

Commit

Permalink
Create main.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
DayS1eeper authored Jan 9, 2024
0 parents commit 80052b3
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
variable "sleep_time" {
default = 1
}
variable "run_id" {
default = "run-abc"
sensitive = true
}

resource "null_resource" "wait" {
triggers = {
run_id = var.run_id
}
provisioner "local-exec" {
command = "sleep ${var.sleep_time}"
}
}

0 comments on commit 80052b3

Please sign in to comment.