0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-06-30 02:31:10 +00:00
terraform-provider-proxmox/docs/resources/virtual_environment_cluster_firewall.md
Pavel Boldyrev e2717a9a9e
feat(docs): add initial mini-howtos for VM (#730)
* chore(docs): minor fixes and linting

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>

* chore(docs): add VM mini-howtos with examples

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>

* address peer-review feedback

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>

* vscode settings

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>

---------

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-11-28 12:38:47 -05:00

1.6 KiB

layout title permalink nav_order parent subcategory
page proxmox_virtual_environment_cluster_firewall /resources/virtual_environment_cluster_firewall 2 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