alicloud_ecs_dedicated_host_cluster

Provides a ECS Dedicated Host Cluster resource.

For information about ECS Dedicated Host Cluster and how to use it, see What is Dedicated Host Cluster.

Example Usage

Basic Usage

data "alicloud_zones" "example" {}

resource "alicloud_ecs_dedicated_host_cluster" "example" {
  dedicated_host_cluster_name = "example_value"
  description                 = "example_value"
  zone_id                     = data.alicloud_zones.example.zones.0.id
  tags = {
    Create = "TF"
    For    = "DDH_Cluster_Test",
  }
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

ECS Dedicated Host Cluster can be imported using the id, e.g.

$ terraform import alicloud_ecs_dedicated_host_cluster.example <id>