Skip to content

Location Resource API 3.8

lakshmi-enjeti edited this page Jan 12, 2018 · 3 revisions

The Location resource allows for the creation and management of locations. A location is defined by specifying the latitude and longitude of the desired location.

Example Usage

resource "brocadevtm_location" "example" {
  name = "example-location"
  location_id = 101
  latitude = -36.353417
  longitude = 146.687568
  note = "Example location"
  type = "glb"
}

Argument Reference

The following arguments are supported:

  • name - (Required) - The unique name of the location resource.
  • location_id - (Required) - The identifier for this location.
  • latitude - (Optional, Default = 0) - The latitude of the location. Must be between -90° and 90°.
  • longitude - (Optional, Default = 0) - The longitude of the location. Must be between -180° and 180°.
  • note - (Optional, Default = "") - An optional note to describe the location.
  • type - (Optional, Default = "config") - Does the location contain Traffic Managers or does it receive GLB requests? Valid choices are config for Traffic Manager configuration and glb for Global Load Balancing.