github.com/hobbeswalsh/terraform@v0.3.7-0.20150619183303-ad17cf55a0fa/website/source/docs/providers/openstack/r/compute_floatingip_v2.html.markdown (about)

     1  ---
     2  layout: "openstack"
     3  page_title: "OpenStack: openstack_compute_floatingip_v2"
     4  sidebar_current: "docs-openstack-resource-compute-floatingip-v2"
     5  description: |-
     6    Manages a V2 floating IP resource within OpenStack Nova (compute).
     7  ---
     8  
     9  # openstack\_compute\_floatingip_v2
    10  
    11  Manages a V2 floating IP resource within OpenStack Nova (compute)
    12  that can be used for compute instances.
    13  These are similar to Neutron (networking) floating IP resources,
    14  but only networking floating IPs can be used with load balancers.
    15  
    16  ## Example Usage
    17  
    18  ```
    19  resource "openstack_compute_floatingip_v2" "floatip_1" {
    20    region = ""
    21    pool = "public"
    22  }
    23  ```
    24  
    25  ## Argument Reference
    26  
    27  The following arguments are supported:
    28  
    29  * `region` - (Required) The region in which to obtain the V2 Compute client.
    30      A Compute client is needed to create a floating IP that can be used with
    31      a compute instance. If omitted, the `OS_REGION_NAME` environment variable
    32      is used. Changing this creates a new floating IP (which may or may not
    33      have a different address).
    34  
    35  * `pool` - (Required) The name of the pool from which to obtain the floating
    36      IP. Changing this creates a new floating IP.
    37  
    38  ## Attributes Reference
    39  
    40  The following attributes are exported:
    41  
    42  * `region` - See Argument Reference above.
    43  * `pool` - See Argument Reference above.
    44  * `address` - The actual floating IP address itself.
    45  * `fixed_ip` - The fixed IP address corresponding to the floating IP.
    46  * `instance_id` - UUID of the compute instance associated with the floating IP.