Skip to content

Commit

Permalink
Merge pull request #3 from azurerm/route_table
Browse files Browse the repository at this point in the history
Fix name between route and route-table
  • Loading branch information
vmisson authored Oct 4, 2023
2 parents 6ab9943 + 1cb905e commit d7d7431
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -1898,8 +1898,8 @@ 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, "route", local.suffix])), 0, 80)
name_unique = substr(join("-", compact([local.prefix, "route", local.suffix_unique])), 0, 80)
dashes = true
slug = "rt"
min_length = 1
Expand All @@ -1908,8 +1908,8 @@ locals {
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"
min_length = 1
Expand Down

0 comments on commit d7d7431

Please sign in to comment.