Skip to content

Commit

Permalink
fix: buffering_interval variable validation doesn't allow to specify …
Browse files Browse the repository at this point in the history
…values less than 60 seconds (#7)
  • Loading branch information
fdmsantos committed Jan 15, 2024
1 parent 455d512 commit fc78ff3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand Down

0 comments on commit fc78ff3

Please sign in to comment.