From 012284f17e158f543567dfae5bd5de840badded4 Mon Sep 17 00:00:00 2001 From: badra001 Date: Fri, 8 Nov 2024 11:02:59 -0500 Subject: [PATCH] conditional check for resource --- tags/tags.finops.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/tags/tags.finops.tf b/tags/tags.finops.tf index 0b643eb..42f464d 100644 --- a/tags/tags.finops.tf +++ b/tags/tags.finops.tf @@ -10,6 +10,7 @@ locals { } resource "terraform_data" "finops" { + count = length(local.finops_tags) > 0 ? 1 : 0 input = local.finops_tags lifecycle {