diff --git a/fast/extras/0-cicd-github/variables.tf b/fast/extras/0-cicd-github/variables.tf index 15b2d660..9f4ee1c0 100644 --- a/fast/extras/0-cicd-github/variables.tf +++ b/fast/extras/0-cicd-github/variables.tf @@ -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_.]+$'." }