Datacenter
Get information on a IonosCloud Data Centers
The Datacenter data source can be used to search for and return an existing Virtual Data Center. You can provide a string for the name and location parameters which will be compared with provisioned Virtual Data Centers. If a single match is found, it will be returned. If your search results in multiple matches, an error will be returned. When this happens, please refine your search string so that it is specific enough to return only one result.
Example Usage
By ID
By Name & Location
Argument Reference
id
- (Optional) Id of an existing Virtual Data Center that you want to search for.name
- (Optional) Name of an existing Virtual Data Center that you want to search for.location
- (Optional) Id of the existing Virtual Data Center's location.
Either name
, location
or id
must be provided. If none, the datasource will return an error.
Attributes Reference
The following attributes are returned by the datasource:
id
- UUID of the Virtual Data Centername
- The name of the Virtual Data Centerlocation
- The regional location where the Virtual Data Center will be createddescription
- Description for the Virtual Data Centerversion
- The version of that Data Center. Gets incremented with every changefeatures
- List of features supported by the location this data center is part ofsec_auth_protection
- Boolean value representing if the data center requires extra protection e.g. two factor protectioncpu_architecture
- Array of features and CPU families available in a locationcpu_family
- A valid CPU family namemax_cores
- The maximum number of cores availablemax_ram
- The maximum number of RAM in MBvendor
- A valid CPU vendor name
Last updated