Update variables.tf

Fixed formatting
This commit is contained in:
Alexander Meissner 2022-04-14 18:34:17 +02:00 committed by GitHub
parent 6df4fc1cff
commit 74a919d203
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ variable "cicd_repositories" {
condition = alltrue([
for k, v in coalesce(var.cicd_repositories, {}) :
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'."