alicloud_emr_instance_types

The alicloud_emr_instance_types data source provides a collection of ecs instance types available in Alibaba Cloud account when create a emr cluster.

Example Usage

data "alicloud_emr_instance_types" "default" {
  destination_resource  = "InstanceType"
  instance_charge_type  = "PostPaid"
  support_local_storage = false
  cluster_type          = "HADOOP"
  instance_type         = "ecs.g5.2xlarge"
  support_node_type     = ["MASTER", "CORE"]
}

output "first_instance_type" {
  value = "${data.alicloud_emr_instance_types.default.types.0.id}"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported in addition to the arguments listed above: