mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-07-01 11:02:59 +00:00
* add import support for a lot of resources * fix lints * set user_id after importing (cherry picked from commit c3d09ed00f6e1d7b0bb3ab01a1fc5c81510aa2e1) * add tests, fix empty ID * add import docs * fix lint
1.6 KiB
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 to5
).rate
- (Optional) Frequency with which the burst bucket gets refilled (defaults to1/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