openstack_networking_portforwarding_v2
For your information
These instructions are an adapted copy of the official OpenStack Terraform provider documentation in the Terraform Registry.
Manages a V2 portforwarding resource within OpenStack.
Example Usage
Simple portforwarding
resource "openstack_networking_portforwarding_v2" "pf_1" {
floatingip_id = "7a52eb59-7d47-415d-a884-046666a6fbae"
external_port = 7233
internal_port = 25
internal_port_id = "b930d7f6-ceb7-40a0-8b81-a425dd994ccf"
protocol = "tcp"
internal_ip_address = "192.168.0.10"
}
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 port forwarding. If omitted, theregion
argument of the provider is used. Changing this creates a newport forwarding. -
floatingip_id
— The ID of the Neutron floating IP address. Changing this creates a new port forwarding. -
internal_port_id