fix repo names check (#1443)
This commit is contained in:
parent
782cf09f3b
commit
815728aca6
|
@ -101,7 +101,7 @@ variable "repositories" {
|
|||
validation {
|
||||
condition = alltrue([
|
||||
for k, v in var.repositories :
|
||||
try(regex("^[a-zA-Z0-9_.]+$", k), null) != null
|
||||
try(regex("^[a-zA-Z0-9-_.]+$", k), null) != null
|
||||
])
|
||||
error_message = "Repository names must match '^[a-zA-Z0-9_.]+$'."
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue