FEATURES PRICING ABOUT DOCS LOGIN

openstack_networking_port_v2

Manages a V2 port resource within OpenStack.

Example Usage

resource "openstack_networking_network_v2" "network_1" {
  name = "network_1"
  admin_state_up = "true"
}

resource "openstack_networking_port_v2" "port_1" {
  name = "port_1"
  network_id = "${openstack_networking_network_v2.network_1.id}"
  admin_state_up = "true"
}

Argument Reference

The following arguments are supported:

The fixed_ip block supports:

The allowed_address_pairs block supports:

Attributes Reference

The following attributes are exported:

Import

Ports can be imported using the id, e.g.

$ terraform import openstack_networking_port_v2.port_1 eae26a3e-1c33-4cc1-9c31-0cd729c438a1

Notes

Ports and Instances

There are some notes to consider when connecting Instances to networks using Ports. Please see the openstack_compute_instance_v2 documentation for further documentation.


See the source of this document at Terraform.io

REQUEST A DEMO