resource "openstack_fw_rule_v1" "${myResourceName}" {
name = "my-${myResourceName}"
description = "my-description-${myResourceName}"
action = "deny"
protocol = "tcp"
destination_port = "23"
enabled = "true"
}
openstack_fw_rule_v1
This code defines a rule in OpenStackFW for a resource with the name "my-${myResourceName}" and a description of "my-description-${myResourceName}". The rule action is "deny" and the protocol is "tcp". The destination_port is set to "23". The rule is enabled and set to true.
Shortcut: tf_openstack_fw_rule_v1
0 Comments
Add Comment
Log in to add a comment