From 5ddb23ae81fd23fa840142ae8311b40e96a86a79 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Thu, 21 Sep 2023 01:09:04 +0300 Subject: [PATCH] remove validation --- gcp-region/main.tf | 8 -------- 1 file changed, 8 deletions(-) diff --git a/gcp-region/main.tf b/gcp-region/main.tf index f1c9786..931b8f7 100644 --- a/gcp-region/main.tf +++ b/gcp-region/main.tf @@ -25,14 +25,6 @@ variable "default" { description = "List of GCP regions to include." type = list(string) default = ["us-central1"] - validation { - condition = length(var.default) > 0 - error_message = "At least one region must be selected." - } - validation { - condition = can(regexall("^[a-z0-9-]+$", var.default)) - error_message = "All regions must be valid names." - } } variable "gpu_only" {