From 7b30aa2c12e42e9fb9a8620bf23adc9e06106ef0 Mon Sep 17 00:00:00 2001 From: Alexander Meissner <94000358+amgoogle@users.noreply.github.com> Date: Tue, 19 Apr 2022 11:09:33 +0200 Subject: [PATCH] Added "gitlab" type to 01-resman Stage --- fast/stages/01-resman/variables.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'." } }