0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-06-30 18:42:58 +00:00
terraform-provider-proxmox/docs/resources/virtual_environment_cluster_firewall.md
Ming Xie 0d548a7807
fix(docs): Inconsistent indentations in docs (#961)
fix(docs): Inconsistent indentations cause rendering issues

Signed-off-by: Ming Xie <git@mxie.dev>
2024-01-26 20:25:51 -05:00

1.5 KiB

layout title parent subcategory
page proxmox_virtual_environment_cluster_firewall Resources Virtual Environment

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"
  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).
  • output_policy - (Optional) The default output policy (ACCEPT, DROP, REJECT).
  • log_ratelimit - (Optional) The log rate limit.
    • enabled - (Optional) Enable or disable the log rate limit.
    • burst - (Optional) Initial burst of packages which will always get logged before the rate is applied (defaults to 5).
    • rate - (Optional) Frequency with which the burst bucket gets refilled (defaults to 1/second).

Attribute Reference

There are no additional attributes available for this resource.

Important Notes

Be careful not to use this resource multiple times for the same node.

Import

Instances can be imported without an ID, but you still need to pass one, e.g.,

terraform import proxmox_virtual_environment_cluster_firewall.example example