Added "gitlab" type to 01-resman Stage
This commit is contained in:
parent
53fde432c4
commit
7b30aa2c12
|
@ -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'."
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue