Skip to content

Commit

Permalink
fix: naming for route and route table according to azure abbreviation…
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhoeltgen authored Aug 26, 2024
1 parent 9aaa2b0 commit 76b3e2b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -1907,20 +1907,20 @@ locals {
regex = "^[^%]+[^ %.]$"
}
route = {
name = substr(join("-", compact([local.prefix, "rt", local.suffix])), 0, 80)
name_unique = substr(join("-", compact([local.prefix, "rt", local.suffix_unique])), 0, 80)
name = substr(join("-", compact([local.prefix, "udr", local.suffix])), 0, 80)
name_unique = substr(join("-", compact([local.prefix, "udr", local.suffix_unique])), 0, 80)
dashes = true
slug = "rt"
slug = "udr"
min_length = 1
max_length = 80
scope = "parent"
regex = "^[a-zA-Z0-9][a-zA-Z0-9-._]+[a-zA-Z0-9_]$"
}
route_table = {
name = substr(join("-", compact([local.prefix, "route", local.suffix])), 0, 80)
name_unique = substr(join("-", compact([local.prefix, "route", local.suffix_unique])), 0, 80)
name = substr(join("-", compact([local.prefix, "rt", local.suffix])), 0, 80)
name_unique = substr(join("-", compact([local.prefix, "rt", local.suffix_unique])), 0, 80)
dashes = true
slug = "route"
slug = "rt"
min_length = 1
max_length = 80
scope = "resourceGroup"
Expand Down

0 comments on commit 76b3e2b

Please sign in to comment.