parent
6df4fc1cff
commit
74a919d203
|
@ -61,7 +61,7 @@ variable "cicd_repositories" {
|
||||||
condition = alltrue([
|
condition = alltrue([
|
||||||
for k, v in coalesce(var.cicd_repositories, {}) :
|
for k, v in coalesce(var.cicd_repositories, {}) :
|
||||||
v == null || (
|
v == null || (
|
||||||
contains(["gitlab","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'."
|
||||||
|
|
Loading…
Reference in New Issue