Use this data source to retrieve Datadog's Synthetics Locations (to be used in Synthetics tests).
data "datadog_synthetics_locations" "test" {}
resource "datadog_synthetics_test" "test_api" {
type = "api"
locations = keys(data.datadog_synthetics_locations.test.locations)
}
id
(String) The ID of this resource.locations
(Map of String) A map of available Synthetics location IDs to names for Synthetics tests.