add firewall enforcement variable to VPC
This commit is contained in:
@@ -51,6 +51,17 @@ variable "dns_policy" {
|
||||
default = null
|
||||
}
|
||||
|
||||
variable "firewall_enforcement_order" {
|
||||
description = "Order that Firewall Rules and Firewall Policies are evaluated. Can be either 'BEFORE_CLASSIC_FIREWALL' or 'AFTER_CLASSIC_FIREWALL'."
|
||||
type = string
|
||||
default = "AFTER_CLASSIC_FIREWALL"
|
||||
|
||||
validation {
|
||||
condition = var.firewall_enforcement_order == "BEFORE_CLASSIC_FIREWALL" || var.firewall_enforcement_order == "AFTER_CLASSIC_FIREWALL"
|
||||
error_message = "Enforcement order must be BEFORE_CLASSIC_FIREWALL or AFTER_CLASSIC_FIREWALL."
|
||||
}
|
||||
}
|
||||
|
||||
variable "mtu" {
|
||||
description = "Maximum Transmission Unit in bytes. The minimum value for this field is 1460 (the default) and the maximum value is 1500 bytes."
|
||||
type = number
|
||||
|
||||
Reference in New Issue
Block a user