From 559f547b8a7e6c5277d73f1b7fce71ca760a3cc9 Mon Sep 17 00:00:00 2001 From: GitHub Terraform Date: Fri, 6 Jan 2023 21:16:51 -0800 Subject: [PATCH] update timestamp trigger --- main.tf | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) diff --git a/main.tf b/main.tf index f488ce5..65d35c9 100755 --- a/main.tf +++ b/main.tf @@ -13,27 +13,10 @@ locals { resource "zia_activation_status" "activation" { status = "ACTIVE" - depends_on = [zia_firewall_filtering_ip_source_groups.this, local.timestamp] + depends_on = [zia_firewall_filtering_ip_source_groups.this, local.two_minutes_plus] } locals { - timestamp = timestamp() + today = timestamp() + two_minutes_plus = timeadd(local.today, "2m") } - -/* -resource "null_resource" "activation" { - triggers = { - always_run = local.always_run - } - provisioner "local-exec" { - command = <