From 80052b3e2bb66065983febf7daa61cac4f326314 Mon Sep 17 00:00:00 2001 From: Vladyslav Mihun Date: Tue, 9 Jan 2024 12:51:57 +0200 Subject: [PATCH] Create main.tf --- main.tf | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 main.tf diff --git a/main.tf b/main.tf new file mode 100644 index 0000000..8eeb714 --- /dev/null +++ b/main.tf @@ -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}" + } +}