diff --git a/fast/stages/01-resman/variables.tf b/fast/stages/01-resman/variables.tf index d0c7416f..a9b101e6 100644 --- a/fast/stages/01-resman/variables.tf +++ b/fast/stages/01-resman/variables.tf @@ -99,10 +99,10 @@ variable "cicd_repositories" { condition = alltrue([ for k, v in coalesce(var.cicd_repositories, {}) : v == null || ( - contains(["github"], coalesce(try(v.type, null), "null")) + contains(["gitlab", "github"], coalesce(try(v.type, null), "null")) ) ]) - error_message = "Invalid repository type, supported types: 'github'." + error_message = "Invalid repository type, supported types: 'github' or 'gitlab'." } }