From 719b36fa20b4f16760dfefe24ed3ef4e061ebd03 Mon Sep 17 00:00:00 2001 From: Lud Date: Thu, 18 Jul 2024 01:04:44 +0200 Subject: [PATCH] nit: whitespace --- aws/elasticache/variables.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws/elasticache/variables.tf b/aws/elasticache/variables.tf index 9a87ad3a..d0c34f1f 100644 --- a/aws/elasticache/variables.tf +++ b/aws/elasticache/variables.tf @@ -85,10 +85,10 @@ variable "transit_encryption_mode" { type = string default = "required" description = "when migrating from no encryption to encryption, this must be set to 'preferred', then apply changes, then set to 'required'" + validation { condition = contains(["required", "preferred"], var.transit_encryption_mode) error_message = "transit_encryption_mode must be either 'required' or 'preferred'" - } }