Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 832 Bytes

zone.html.markdown

File metadata and controls

35 lines (26 loc) · 832 Bytes
layout page_title sidebar_current description
cloudstack
Cloudstack: cloudstack_zone
docs-cloudstack-cloudstack_zone
Gets information about cloudstack zone.

cloudstack_zone

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

Example Usage

  data "cloudstack_zone" "zone-data-source"{
    filter{
    name = "name"
    value="TestZone"
    }
  }

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:

  • name - The name of the zone.
  • dns1 - The first DNS for the Zone.
  • internal_dns1 - The first internal DNS for the Zone.
  • network_type - The network type of the zone; can be Basic or Advanced.