Resource: proxmox_virtual_environment_cluster_firewall¶
Manages firewall options on the cluster level.
Example Usage¶
resource "proxmox_virtual_environment_cluster_firewall" "example" {
enabled = false
ebtables = false
input_policy = "DROP"
output_policy = "ACCEPT"
forward_policy = "ACCEPT"
log_ratelimit {
enabled = false
burst = 10
rate = "5/second"
}
}
Argument Reference¶
enabled- (Optional) Enable or disable the firewall cluster wide.ebtables- (Optional) Enable ebtables rules cluster wide.input_policy- (Optional) The default input policy (ACCEPT,DROP,REJECT). Defaults toDROP.output_policy- (Optional) The default output policy (ACCEPT,DROP,REJECT). Defaults toACCEPT.forward_policy- (Optional) The default forward policy (ACCEPT,DROP). Defaults toACCEPT.log_ratelimit- (Optional) The log rate limit.
Attribute Reference¶
There are no additional attributes available for this resource.
Important Notes¶
This resource manages cluster-wide firewall options, so it should be used only once per cluster. Declaring it multiple times results in conflicting updates.
Import¶
Instances can be imported without an ID, but you still need to pass one, e.g.,