openstack_fw_rule_v2
openstack_fw_rule_v2
For your information
These instructions are a copy of the official OpenStack Terraform provider documentation in the Terraform Registry.
Manages a v2 firewall rule resource within OpenStack.
Firewall v2 has no support for OVN currently.
Example Usage
resource "openstack_fw_rule_v2" "rule_2" {
name = "firewall_rule"
description = "drop TELNET traffic"
action = "deny"
protocol = "tcp"
destination_port = "23"
enabled = "true"
}
Argument Reference
The following arguments are supported:
-
region
— (Optional) The region in which to obtain the v2 networking client.A networking client is needed to create a firewall rule. If omitted, theregion
argument of the provider is used. Changing this creates a newfirewall rule. -
name