From fc78ff3816915f6414e750c2f438091c5304b17c Mon Sep 17 00:00:00 2001 From: Fabio Santos Date: Mon, 15 Jan 2024 09:53:34 +0000 Subject: [PATCH] fix: buffering_interval variable validation doesn't allow to specify values less than 60 seconds (#7) --- variables.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/variables.tf b/variables.tf index 878d431..57aad96 100644 --- a/variables.tf +++ b/variables.tf @@ -57,8 +57,8 @@ variable "buffering_interval" { type = number default = 300 validation { - error_message = "Valid Values: Minimum: 60 seconds, maximum: 900 seconds." - condition = var.buffering_interval >= 60 && var.buffering_interval <= 900 + error_message = "Valid Values: Minimum: 0 seconds, maximum: 900 seconds." + condition = var.buffering_interval >= 0 && var.buffering_interval <= 900 } }