Skip to content

Commit

Permalink
fix: Remove variable validation - its causing more issues than value (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
bryantbiggs authored Mar 29, 2023
1 parent b855da6 commit d72de41
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions modules/kubernetes-addons/argocd/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down

0 comments on commit d72de41

Please sign in to comment.