From d72de4181a00ca44f42d7ffb3c7485d4e25de3ba Mon Sep 17 00:00:00 2001 From: Bryant Biggs Date: Wed, 29 Mar 2023 19:17:40 -0400 Subject: [PATCH] fix: Remove variable validation - its causing more issues than value (#1521) --- modules/kubernetes-addons/argocd/variables.tf | 5 ----- 1 file changed, 5 deletions(-) diff --git a/modules/kubernetes-addons/argocd/variables.tf b/modules/kubernetes-addons/argocd/variables.tf index ad90e2b2e3..107a816813 100644 --- a/modules/kubernetes-addons/argocd/variables.tf +++ b/modules/kubernetes-addons/argocd/variables.tf @@ -8,11 +8,6 @@ variable "applications" { description = "ArgoCD Application config used to bootstrap a cluster." type = any default = {} - - validation { - condition = alltrue([for k, v in var.applications : length(regexall("^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$", k)) > 0]) - error_message = "All ArgoCD application config keys must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character" - } } variable "addon_config" {