ionoscloud_location
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.
Example Usage
data "ionoscloud_location" "example" {
name = "karlsruhe"
feature = "SSD"
}Argument Reference
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.
Attributes Reference
The following attributes are returned by the datasource:
id- UUID of the locationcpu_architecture- Array of features and CPU families available in a locationcpu_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.enabled_features- Features enabled for this CPU architecture, e.g.SEV-SNPfor Confidential Computing.image_aliases- List of image aliases available for the locationmetro_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
