FEATURES OPEN SOURCE ABOUT DOCS LOGIN REGISTER

openstack_fw_rule_v1

Manages a v1 firewall rule resource within OpenStack.

Example Usage

resource "openstack_fw_rule_v1" "rule_1" {
  name = "my_rule"
  description = "drop TELNET traffic"
  action = "deny"
  protocol = "tcp"
  destination_port = "23"
  enabled = "true"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

Firewall Rules can be imported using the id, e.g.

$ terraform import openstack_fw_rule_v1.rule_1 8dbc0c28-e49c-463f-b712-5c5d1bbac327

See the source of this document at Terraform.io