Skip to content

Commit

Permalink
Correcting cosmosdb (Azure#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nepomuceno authored Oct 1, 2020
1 parent c9dfef6 commit df6a893
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ locals {
min_length = 1
max_length = 63
scope = "resourceGroup"
regex = "^[a-z0-9][a-zA-Z0-9-_.]+[a-zA-Z0-9]$"
regex = "^[a-z0-9][a-z0-9-_.]+[a-z0-9]$"
}
custom_provider = {
name = substr(join("-", compact([local.prefix, "prov", local.suffix])), 0, 64)
Expand Down
2 changes: 1 addition & 1 deletion resourceDefinition.json
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@
"min": 1,
"max": 63
},
"regex": "^(?=.{1,63}$)[a-z0-9][a-zA-Z0-9-_.]+[a-zA-Z0-9]$",
"regex": "^(?=.{1,63}$)[a-z0-9][a-z0-9-_.]+[a-z0-9]$",
"scope": "resourceGroup",
"slug": "cosmos",
"dashes": true
Expand Down

0 comments on commit df6a893

Please sign in to comment.