Files
opentf/website/source/docs/providers/cloudstack/r/ipaddress.html.markdown
Sander van Harmelen 4910423d83 First release of a provider for CloudStack
Of course not all resources are covered by this first release, but
there should be enough resources available to handle most common
operations.

Tests and docs are included.
2014-12-10 22:20:52 +01:00

973 B

layout, page_title, sidebar_current, description
layout page_title sidebar_current description
cloudstack CloudStack: cloudstack_ipaddress docs-cloudstack-resource-ipaddress Acquires and associates a public IP.

cloudstack_ipaddress

Acquires and associates a public IP.

Example Usage

resource "cloudstack_ipaddress" "default" {
  network = "test-network"
}

Argument Reference

The following arguments are supported:

  • network - (Optional) The name of the network for which an IP address should be aquired and accociated. Changing this forces a new resource to be created.

  • vpc - (Optional) The name of the vpc for which an IP address should be aquired and accociated. Changing this forces a new resource to be created.

NOTE: Either network or vpc should have a value!

Attributes Reference

The following attributes are exported:

  • id - The ID of the aquired and accociated IP address.
  • ipaddress - The IP address that was aquired and accociated.