Skip to content

Commit

Permalink
fix: remove wrong condition from mtu variable
Browse files Browse the repository at this point in the history
  • Loading branch information
zied-elouaer committed Mar 26, 2024
1 parent 6e49cfa commit 4705cb8
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,9 @@ variable "auto_create_subnetworks" {
}

variable "mtu" {
description = "(Optional) Maximum Transmission Unit in bytes. The minimum value for this field is 1460 and the maximum value is 1500 bytes. Default is '1460'."
description = "(Optional) Maximum Transmission Unit in bytes. The minimum value for this field is 1300 and the recommended maximum value is 1500 bytes. Default is '1460'."
type = string
default = 1460

validation {
condition = var.mtu >= 1460 && var.mtu <= 1500
error_message = "The mtu expects a value between '1460' and '1500'."
}
}

variable "enable_ula_internal_ipv6" {
Expand Down

0 comments on commit 4705cb8

Please sign in to comment.