ionoscloud_location
Get information on a IONOS CLOUD Locations
Last updated
Was this helpful?
Get information on a IONOS CLOUD Locations
The Location data source can be used to search for and return an existing location which can then be used elsewhere in the configuration. If a single match is found, it will be returned. If your search results in multiple matches, the first location from the list will be returned.
data "ionoscloud_location" "example" {
name = "karlsruhe"
feature = "SSD"
}name - (Optional) Name of the location to search for.
feature - (Optional) A desired feature that the location must be able to provide.
Either name or feature must be provided. If none is provided, the datasource will return an error.
The following attributes are returned by the datasource:
id - UUID of the location
cpu_architecture - Array of features and CPU families available in a location
cpu_family - A valid CPU family name.
max_cores - The maximum number of cores available.
max_ram - The maximum number of RAM in MB.
vendor - A valid CPU vendor name.
image_aliases - List of image aliases available for the location
metro_region - The id of the metro region this location belongs to. For a child location (e.g. de/fra/2) this is the parent location it inherits images and image aliases from; classic locations reference themselves.
Last updated
Was this helpful?
Was this helpful?