From e3aba4ba75551b6c404a098f43636b3b627abed2 Mon Sep 17 00:00:00 2001 From: gkimovski Date: Thu, 17 Oct 2024 12:16:24 +0200 Subject: [PATCH] add policy condition --- variables.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/variables.tf b/variables.tf index c876016..436d250 100644 --- a/variables.tf +++ b/variables.tf @@ -129,8 +129,8 @@ variable "tls_security_policy" { default = "Policy-Min-TLS-1-2-2019-07" validation { - condition = can(regex("^Policy-Min-TLS-1-0-2019-07|Policy-Min-TLS-1-2-2019-07$", var.tls_security_policy)) - error_message = "TLS security policy should be 'Policy-Min-TLS-1-0-2019-07' or 'Policy-Min-TLS-1-2-2019-07'." + condition = can(regex("^Policy-Min-TLS-1-0-2019-07|Policy-Min-TLS-1-2-2019-07|Policy-Min-TLS-1-2-PFS-2023-10$", var.tls_security_policy)) + error_message = "TLS security policy should be 'Policy-Min-TLS-1-0-2019-07, Policy-Min-TLS-1-2-2019-07, Policy-Min-TLS-1-2-PFS-2023-10'." } }