Skip to content

Commit

Permalink
remove the merging of the tags, figure out validation later
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Nov 8, 2024
1 parent 1d73fcb commit fc8c88a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tags/tags.finops.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ locals {
project_name = try(replace(local._finops.name, "/[^a-z0-9_]/", ""), null)
project_role = local._finops.role != null ? replace(replace(local._finops.role, "+", format("%v_", local._finops.name)), "/[^a-z0-9_]/", "") : null
}
_finops_tags2 = { for k, v in local._finops_tags : k => v if v != null && k != "prefix" }
finops_tags = merge(local.legacy_finops_converted, local._finops_tags2)
finops_tags = { for k, v in local._finops_tags : k => v if v != null && k != "prefix" }
}

resource "terraform_data" "finops" {
Expand All @@ -20,3 +19,4 @@ resource "terraform_data" "finops" {
}
}
}

0 comments on commit fc8c88a

Please sign in to comment.