github.com/adrian-bl/terraform@v0.7.0-rc2.0.20160705220747-de0a34fc3517/website/source/docs/providers/cloudstack/r/ipaddress.html.markdown (about) 1 --- 2 layout: "cloudstack" 3 page_title: "CloudStack: cloudstack_ipaddress" 4 sidebar_current: "docs-cloudstack-resource-ipaddress" 5 description: |- 6 Acquires and associates a public IP. 7 --- 8 9 # cloudstack\_ipaddress 10 11 Acquires and associates a public IP. 12 13 ## Example Usage 14 15 ``` 16 resource "cloudstack_ipaddress" "default" { 17 network_id = "6eb22f91-7454-4107-89f4-36afcdf33021" 18 } 19 ``` 20 21 ## Argument Reference 22 23 The following arguments are supported: 24 25 * `network_id` - (Optional) The ID of the network for which an IP address should 26 be acquired and associated. Changing this forces a new resource to be created. 27 28 * `vpc_id` - (Optional) The ID of the VPC for which an IP address should be 29 acquired and associated. Changing this forces a new resource to be created. 30 31 * `project` - (Optional) The name or ID of the project to deploy this 32 instance to. Changing this forces a new resource to be created. 33 34 *NOTE: Either `network_id` or `vpc_id` should have a value!* 35 36 ## Attributes Reference 37 38 The following attributes are exported: 39 40 * `id` - The ID of the acquired and associated IP address. 41 * `ip_address` - The IP address that was acquired and associated.