Use this data source to access information about an existing Azure Maps Account.
data "azurerm_maps_account" "example" {
name = "production"
resource_group_name = "maps"
}
output "maps_account_id" {
value = data.azurerm_maps_account.example.id
}
name
- Specifies the name of the Maps Account.
resource_group_name
- Specifies the name of the Resource Group in which the Maps Account is located.
id
- The ID of the Maps Account.
sku_name
- The SKU of the Azure Maps Account.
primary_access_key
- The primary key used to authenticate and authorize access to the Maps REST APIs.
secondary_access_key
- The primary key used to authenticate and authorize access to the Maps REST APIs. The second key is given to provide seamless key regeneration.
x_ms_client_id
- A unique identifier for the Maps Account.
The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minutes) Used when retrieving the Maps Account.