The locations data source can be used to search for and return an existing location which can then be used elsewhere in the configuration.
data "profitbricks_location" "loc1" {
name = "karlsruhe"
feature = "SSD"
}
name - (Required) Name or part of the location name to search for. feature - (Optional) A desired feature that the location must be able to provide. id - UUID of the location
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/profitbricks/d/profitbricks_location.html