Use this data source to access the ID of a specified Traffic Manager Geographical Location within the Geographical Hierarchy.
data "azurerm_traffic_manager_geographical_location" "test" { name = "World" } output "location_code" { value = "${data.azurerm_traffic_manager_geographical_location.test.id}" }
name
- (Required) Specifies the name of the Location, for example World
, Europe
or Germany
. id
- The ID of this Location, also known as the Code
of this Location.
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/azurerm/d/traffic_manager_geographical_location.html