From e24e27eb73a555df3f6600f40c5b0825ea2874f0 Mon Sep 17 00:00:00 2001 From: luizsutil Date: Tue, 22 Aug 2023 13:55:32 +1000 Subject: [PATCH] fixed mode variable condition --- _variables.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_variables.tf b/_variables.tf index 4e294e2..4db406d 100644 --- a/_variables.tf +++ b/_variables.tf @@ -24,7 +24,7 @@ variable "mode" { default = "complete" validation { - condition = contains(["complete", "requester", "accepter"]) + condition = contains(["complete", "requester", "accepter"], var.mode) error_message = "Valid values for mode are: (complete, requester, accepter)" } }