Datacenter

Creates and manages IonosCloud Virtual Data Center.

Manages a Virtual Data Center on IonosCloud.

Example Usage

resource "ionoscloud_datacenter" "example" {
  name        = "datacenter name"
  location    = "us/las"
  description = "datacenter description"
}

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 protection

  • version - (Computed) The version of that Data Center. Gets incremented with every change

  • features - (Computed) List of features supported by the location this data center is part of

Import

Resource Datacenter can be imported using the resource id, e.g.

terraform import ionoscloud_datacenter.mydc {datacenter uuid}

Last updated