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 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

Last updated