Datacenter
Creates and manages IonosCloud Virtual Data Center.
Manages a Virtual Data Center on IonosCloud.
Example Usage
Attaching a NSG to a Datacenter
A single Network Security Group can be attached at any time to a Datacenter. To do this, use the ionoscloud_datacenter_nsg_selection
and provide the IDs of the NSG and Datacenter to link them.
ionoscloud_datacenter_nsg_selection
and provide the IDs of the NSG and Datacenter to link them.Deleting the resource or setting the empty string for the nsg_id
field will de-attach any previously linked NSG from the Datacenter.
nsg_id
field will de-attach any previously linked NSG from the Datacenter.Argument Reference
The following arguments are supported:
name
- (Required)[string] The name of the Virtual Data Center.location
- (Required)[string] The regional location where the Virtual Data Center will be created. This argument is immutable.description
- (Optional)[string] Description for the Virtual Data Center.sec_auth_protection
- (Optional) [bool] Boolean value representing if the data center requires extra protection e.g. two factor protectionversion
- (Computed) The version of that Data Center. Gets incremented with every changefeatures
- (Computed) List of features supported by the location this data center is part ofipv6_cidr_block
- (Computed) The automatically-assigned /56 IPv6 CIDR block if IPv6 is enabled on this virtual data centercpu_architecture
- (Computed) 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
Import
Resource Datacenter can be imported using the resource id
, e.g.
Last updated