Skip to content

Commit

Permalink
conditional check for resource
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Nov 8, 2024
1 parent 1a2bd8d commit 012284f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tags/tags.finops.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ locals {
}

resource "terraform_data" "finops" {
count = length(local.finops_tags) > 0 ? 1 : 0
input = local.finops_tags

lifecycle {
Expand Down

0 comments on commit 012284f

Please sign in to comment.