Skip to content

Commit

Permalink
fix: update name format
Browse files Browse the repository at this point in the history
  • Loading branch information
themaheshyadav committed Jun 12, 2023
1 parent 91c810f commit f311990
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ locals {
id_labels = [for l in var.label_order : local.id_context[l] if length(local.id_context[l]) > 0]

id = lower(join(var.delimiter, local.id_labels, var.attributes))
name = local.enabled == true ? lower(format("%v%s", "Name:-", var.name)) : ""
environment = local.enabled == true ? lower(format("%v%s", "Environment:-", var.environment)) : ""
managedby = local.enabled == true ? lower(format("%v%s", "Managedby:-", var.managedby)) : ""
name = local.enabled == true ? format("%v%s", "Name:-", var.name) : ""
environment = local.enabled == true ? format("%v%s", "Environment:-", var.environment) : ""
managedby = local.enabled == true ? format("%v%s", "Managedby:-", var.managedby) : ""
}

##-----------------------------------------------------------------------------
Expand Down

0 comments on commit f311990

Please sign in to comment.