Skip to content

Commit

Permalink
fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Nov 8, 2024
1 parent 012284f commit 86da45d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tags/tags.legacy.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ resource "terraform_data" "legacy_finops_number" {

lifecycle {
precondition {
condition = length(regexall("^fs\\d{10}$",lookup(local.legacy_finops_converted,"project_number",null))) == 0
condition = length(regexall("^fs\\d{10}$",local.legacy_finops_converted["project_number"])) > 0
error_message = "Invalid legacy finops project_number format."
}
}
Expand Down

0 comments on commit 86da45d

Please sign in to comment.