openstack_compute_floatingip_v2

Manages a V2 floating IP resource within OpenStack Nova (compute) that can be used for compute instances.

Please note that managing floating IPs through the OpenStack Compute API has been deprecated. Unless you are using an older OpenStack environment, it is recommended to use the openstack_networking_floatingip_v2 resource instead, which uses the OpenStack Networking API.

Example Usage

resource "openstack_compute_floatingip_v2" "floatip_1" {
  pool = "public"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

Floating IPs can be imported using the id, e.g.

$ terraform import openstack_compute_floatingip_v2.floatip_1 89c60255-9bd6-460c-822a-e2b959ede9d2