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" "example" {
name = "World"
}
output "location_code" {
value = data.azurerm_traffic_manager_geographical_location.example.id
}
name
- 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.The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minutes) Used when retrieving the Location.