Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.04 KB

ipaddress.html.markdown

File metadata and controls

38 lines (29 loc) · 1.04 KB
layout page_title sidebar_current description
cloudstack
Cloudstack: cloudstack_ipaddress
docs-cloudstack-cloudstack_ipaddress
Gets information about cloudstack ipaddress.

cloudstack_ipaddress

Use this datasource to get information about a public ipaddress for use in other resources.

Example Usage

data "cloudstack_ipaddress" "ipaddress-data-source"{
    filter{
    name = "zone_name"
    value= "DC"
    }
  }

Argument Reference

  • filter - (Required) One or more name/value pairs to filter off of. You can apply filters on any exported attributes.

Attributes Reference

The following attributes are exported:

  • is_portable - Is public IP portable across the zones.
  • network_id - The ID of the Network where ip belongs to.
  • vpc_id - VPC id the ip belongs to.
  • zone_name - The name of the zone the public IP address belongs to.
  • project - The project name of the address.
  • ip_address - Public IP address.
  • is_source_nat - True if the IP address is a source nat address, false otherwise.