From 436d52868f5287703a1ffb1fff7ddd60d14c520f Mon Sep 17 00:00:00 2001 From: Lee Bates Date: Tue, 12 Apr 2022 13:30:32 +0100 Subject: [PATCH] crudely handling parvati for speed, will need to be more dynamic going fwd (#14) --- tags/variables.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tags/variables.tf b/tags/variables.tf index a8b2d6c..32190aa 100644 --- a/tags/variables.tf +++ b/tags/variables.tf @@ -2,8 +2,8 @@ variable "stage" { description = "Stage on which infra should be deployed" type = string validation { - condition = can(regex("latest|test|beta|prod", var.stage)) - error_message = "Invalid stage! Allowed values are [latest, test, beta, prod]." + condition = can(regex("latest|test|beta|prod|parvati", var.stage)) + error_message = "Invalid stage! Allowed values are [latest, test, beta, prod, parvati]." } }