diff --git a/main.tf b/main.tf index 90b5235..add5564 100644 --- a/main.tf +++ b/main.tf @@ -451,10 +451,9 @@ locals { } resource "null_resource" "always_sleep" { - count = var.create_private_link ? 1 : 0 - # A dynamic trigger that changes every time Terraform runs + count = var.create_private_link ? 1 : 0 triggers = { - always_run = timestamp() # Forces the resource to always run + always_run = timestamp() } provisioner "local-exec" { diff --git a/versions.tf b/versions.tf index ca2a967..f7e869d 100644 --- a/versions.tf +++ b/versions.tf @@ -17,5 +17,9 @@ terraform { source = "hashicorp/helm" version = "~> 2.10" } + null = { + source = "hashicorp/null" + version = "3.2.2" + } } }