published on Monday, Jun 22, 2026 by tencentcloudstack
published on Monday, Jun 22, 2026 by tencentcloudstack
Provides a resource to create a EMR cluster (v2).
NOTE: At create time, every block of the same role within a zone (i.e. all
master_resource_specblocks, allcore_resource_specblocks, etc.) must declare an identical configuration — includinginstance_type,system_disk,data_disk, andsoftware. The EMRCreateClusterAPI only accepts a single resource template per role and provisions the requested count of identical nodes from it. To run heterogeneous configurations within the same role, first create the cluster with uniform blocks, then customize individual nodes via subsequentpulumi upupdates (resize disks, changeinstance_type, add data disks, etc.).
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.EmrClusterV2("example", {
productVersion: "EMR-V3.6.0",
enableSupportHaFlag: true,
instanceName: "tf-example",
instanceChargeType: "POSTPAID_BY_HOUR",
needMasterWan: "NEED_MASTER_WAN",
loginSettings: {
password: "Password@123",
},
sceneSoftwareConfig: {
sceneName: "Hadoop-Default",
},
metaDbInfo: {
metaType: "EMR_DEFAULT_META",
},
tags: [{
tagKey: "createBy",
tagValue: "Terraform",
}],
securityGroupIds: ["sg-37tigqat"],
sgIp: "10.0.0.0/8",
zoneResourceConfigurations: [{
virtualPrivateCloud: {
vpcId: "vpc-i5yyodl9",
subnetId: "subnet-hhi88a58",
},
placement: {
zone: "ap-guangzhou-6",
},
allNodeResourceSpec: {
masterResourceSpecs: [
{
_nodeIndex: "master_node_1",
instanceType: "SA5.2XLARGE16",
systemDisk: {
diskSize: 100,
diskType: "CLOUD_HSSD",
},
dataDisks: [
{
_diskIndex: "master_disk_1",
diskSize: 100,
diskType: "CLOUD_SSD",
},
{
_diskIndex: "master_disk_2",
diskSize: 200,
diskType: "CLOUD_SSD",
},
],
softwares: [
{
services: "RUNTIME-1.0.0",
roles: ["Sysctl"],
},
{
services: "FILEBEAT-7.2.0",
roles: ["Filebeat"],
},
{
services: "HDFS-3.2.2",
roles: [
"NameNode",
"ZKFailoverController",
],
},
{
services: "YARN-3.2.2",
roles: [
"ResourceManager",
"JobHistoryServer",
"TimeLineServer",
],
},
{
services: "OPENLDAP-2.4.44",
roles: ["slapd"],
},
{
services: "KNOX-1.6.1",
roles: [
"gateway",
"ldap",
],
},
],
},
{
_nodeIndex: "master_node_2",
instanceType: "SA5.2XLARGE16",
systemDisk: {
diskSize: 100,
diskType: "CLOUD_HSSD",
},
dataDisks: [
{
_diskIndex: "master_disk_1",
diskSize: 100,
diskType: "CLOUD_SSD",
},
{
_diskIndex: "master_disk_2",
diskSize: 200,
diskType: "CLOUD_SSD",
},
],
softwares: [
{
services: "RUNTIME-1.0.0",
roles: ["Sysctl"],
},
{
services: "FILEBEAT-7.2.0",
roles: ["Filebeat"],
},
{
services: "HDFS-3.2.2",
roles: [
"NameNode",
"ZKFailoverController",
],
},
{
services: "YARN-3.2.2",
roles: [
"ResourceManager",
"JobHistoryServer",
"TimeLineServer",
],
},
{
services: "OPENLDAP-2.4.44",
roles: ["slapd"],
},
{
services: "KNOX-1.6.1",
roles: [
"gateway",
"ldap",
],
},
],
},
],
coreResourceSpecs: [
{
_nodeIndex: "core_node_1",
instanceType: "SA5.LARGE8",
systemDisk: {
diskSize: 100,
diskType: "CLOUD_HSSD",
},
dataDisks: [
{
_diskIndex: "core_disk_1",
diskSize: 100,
diskType: "CLOUD_SSD",
},
{
_diskIndex: "core_disk_2",
diskSize: 100,
diskType: "CLOUD_SSD",
},
],
softwares: [
{
services: "RUNTIME-1.0.0",
roles: ["Sysctl"],
},
{
services: "FILEBEAT-7.2.0",
roles: ["Filebeat"],
},
{
services: "HDFS-3.2.2",
roles: ["DataNode"],
},
{
services: "YARN-3.2.2",
roles: ["NodeManager"],
},
],
},
{
_nodeIndex: "core_node_2",
instanceType: "SA5.LARGE8",
systemDisk: {
diskSize: 100,
diskType: "CLOUD_HSSD",
},
dataDisks: [
{
_diskIndex: "core_disk_1",
diskSize: 100,
diskType: "CLOUD_SSD",
},
{
_diskIndex: "core_disk_2",
diskSize: 100,
diskType: "CLOUD_SSD",
},
],
softwares: [
{
services: "RUNTIME-1.0.0",
roles: ["Sysctl"],
},
{
services: "FILEBEAT-7.2.0",
roles: ["Filebeat"],
},
{
services: "HDFS-3.2.2",
roles: ["DataNode"],
},
{
services: "YARN-3.2.2",
roles: ["NodeManager"],
},
],
},
{
_nodeIndex: "core_node_3",
instanceType: "SA5.LARGE8",
systemDisk: {
diskSize: 100,
diskType: "CLOUD_HSSD",
},
dataDisks: [
{
_diskIndex: "core_disk_1",
diskSize: 100,
diskType: "CLOUD_SSD",
},
{
_diskIndex: "core_disk_2",
diskSize: 100,
diskType: "CLOUD_SSD",
},
],
softwares: [
{
services: "RUNTIME-1.0.0",
roles: ["Sysctl"],
},
{
services: "FILEBEAT-7.2.0",
roles: ["Filebeat"],
},
{
services: "HDFS-3.2.2",
roles: ["DataNode"],
},
{
services: "YARN-3.2.2",
roles: ["NodeManager"],
},
],
},
],
taskResourceSpecs: [
{
_nodeIndex: "task_node_1",
instanceType: "SA5.LARGE8",
systemDisk: {
diskSize: 100,
diskType: "CLOUD_HSSD",
},
dataDisks: [
{
_diskIndex: "task_disk_1",
diskSize: 100,
diskType: "CLOUD_SSD",
},
{
_diskIndex: "task_disk_2",
diskSize: 100,
diskType: "CLOUD_SSD",
},
],
softwares: [
{
services: "RUNTIME-1.0.0",
roles: ["Sysctl"],
},
{
services: "FILEBEAT-7.2.0",
roles: ["Filebeat"],
},
{
services: "YARN-3.2.2",
roles: ["NodeManager"],
},
],
},
{
_nodeIndex: "task_node_2",
instanceType: "SA5.LARGE8",
systemDisk: {
diskSize: 100,
diskType: "CLOUD_HSSD",
},
dataDisks: [
{
_diskIndex: "task_disk_1",
diskSize: 100,
diskType: "CLOUD_SSD",
},
{
_diskIndex: "task_disk_2",
diskSize: 100,
diskType: "CLOUD_SSD",
},
],
softwares: [
{
services: "RUNTIME-1.0.0",
roles: ["Sysctl"],
},
{
services: "FILEBEAT-7.2.0",
roles: ["Filebeat"],
},
{
services: "YARN-3.2.2",
roles: ["NodeManager"],
},
],
},
],
commonResourceSpecs: [
{
_nodeIndex: "common_node_1",
instanceType: "SA5.LARGE8",
systemDisk: {
diskSize: 100,
diskType: "CLOUD_HSSD",
},
dataDisks: [{
_diskIndex: "common_disk_1",
diskSize: 100,
diskType: "CLOUD_SSD",
}],
softwares: [
{
services: "RUNTIME-1.0.0",
roles: ["Sysctl"],
},
{
services: "FILEBEAT-7.2.0",
roles: ["Filebeat"],
},
{
services: "HDFS-3.2.2",
roles: ["JournalNode"],
},
{
services: "ZOOKEEPER-3.6.3",
roles: ["Zookeeper"],
},
],
},
{
_nodeIndex: "common_node_2",
instanceType: "SA5.LARGE8",
systemDisk: {
diskSize: 100,
diskType: "CLOUD_HSSD",
},
dataDisks: [{
_diskIndex: "common_disk_1",
diskSize: 100,
diskType: "CLOUD_SSD",
}],
softwares: [
{
services: "RUNTIME-1.0.0",
roles: ["Sysctl"],
},
{
services: "FILEBEAT-7.2.0",
roles: ["Filebeat"],
},
{
services: "HDFS-3.2.2",
roles: ["JournalNode"],
},
{
services: "ZOOKEEPER-3.6.3",
roles: ["Zookeeper"],
},
],
},
{
_nodeIndex: "common_node_3",
instanceType: "SA5.LARGE8",
systemDisk: {
diskSize: 100,
diskType: "CLOUD_HSSD",
},
dataDisks: [{
_diskIndex: "common_disk_1",
diskSize: 100,
diskType: "CLOUD_SSD",
}],
softwares: [
{
services: "RUNTIME-1.0.0",
roles: ["Sysctl"],
},
{
services: "FILEBEAT-7.2.0",
roles: ["Filebeat"],
},
{
services: "HDFS-3.2.2",
roles: ["JournalNode"],
},
{
services: "ZOOKEEPER-3.6.3",
roles: ["Zookeeper"],
},
],
},
],
},
}],
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.EmrClusterV2("example",
product_version="EMR-V3.6.0",
enable_support_ha_flag=True,
instance_name="tf-example",
instance_charge_type="POSTPAID_BY_HOUR",
need_master_wan="NEED_MASTER_WAN",
login_settings={
"password": "Password@123",
},
scene_software_config={
"scene_name": "Hadoop-Default",
},
meta_db_info={
"meta_type": "EMR_DEFAULT_META",
},
tags=[{
"tag_key": "createBy",
"tag_value": "Terraform",
}],
security_group_ids=["sg-37tigqat"],
sg_ip="10.0.0.0/8",
zone_resource_configurations=[{
"virtual_private_cloud": {
"vpc_id": "vpc-i5yyodl9",
"subnet_id": "subnet-hhi88a58",
},
"placement": {
"zone": "ap-guangzhou-6",
},
"all_node_resource_spec": {
"master_resource_specs": [
{
"_node_index": "master_node_1",
"instance_type": "SA5.2XLARGE16",
"system_disk": {
"disk_size": 100,
"disk_type": "CLOUD_HSSD",
},
"data_disks": [
{
"_disk_index": "master_disk_1",
"disk_size": 100,
"disk_type": "CLOUD_SSD",
},
{
"_disk_index": "master_disk_2",
"disk_size": 200,
"disk_type": "CLOUD_SSD",
},
],
"softwares": [
{
"services": "RUNTIME-1.0.0",
"roles": ["Sysctl"],
},
{
"services": "FILEBEAT-7.2.0",
"roles": ["Filebeat"],
},
{
"services": "HDFS-3.2.2",
"roles": [
"NameNode",
"ZKFailoverController",
],
},
{
"services": "YARN-3.2.2",
"roles": [
"ResourceManager",
"JobHistoryServer",
"TimeLineServer",
],
},
{
"services": "OPENLDAP-2.4.44",
"roles": ["slapd"],
},
{
"services": "KNOX-1.6.1",
"roles": [
"gateway",
"ldap",
],
},
],
},
{
"_node_index": "master_node_2",
"instance_type": "SA5.2XLARGE16",
"system_disk": {
"disk_size": 100,
"disk_type": "CLOUD_HSSD",
},
"data_disks": [
{
"_disk_index": "master_disk_1",
"disk_size": 100,
"disk_type": "CLOUD_SSD",
},
{
"_disk_index": "master_disk_2",
"disk_size": 200,
"disk_type": "CLOUD_SSD",
},
],
"softwares": [
{
"services": "RUNTIME-1.0.0",
"roles": ["Sysctl"],
},
{
"services": "FILEBEAT-7.2.0",
"roles": ["Filebeat"],
},
{
"services": "HDFS-3.2.2",
"roles": [
"NameNode",
"ZKFailoverController",
],
},
{
"services": "YARN-3.2.2",
"roles": [
"ResourceManager",
"JobHistoryServer",
"TimeLineServer",
],
},
{
"services": "OPENLDAP-2.4.44",
"roles": ["slapd"],
},
{
"services": "KNOX-1.6.1",
"roles": [
"gateway",
"ldap",
],
},
],
},
],
"core_resource_specs": [
{
"_node_index": "core_node_1",
"instance_type": "SA5.LARGE8",
"system_disk": {
"disk_size": 100,
"disk_type": "CLOUD_HSSD",
},
"data_disks": [
{
"_disk_index": "core_disk_1",
"disk_size": 100,
"disk_type": "CLOUD_SSD",
},
{
"_disk_index": "core_disk_2",
"disk_size": 100,
"disk_type": "CLOUD_SSD",
},
],
"softwares": [
{
"services": "RUNTIME-1.0.0",
"roles": ["Sysctl"],
},
{
"services": "FILEBEAT-7.2.0",
"roles": ["Filebeat"],
},
{
"services": "HDFS-3.2.2",
"roles": ["DataNode"],
},
{
"services": "YARN-3.2.2",
"roles": ["NodeManager"],
},
],
},
{
"_node_index": "core_node_2",
"instance_type": "SA5.LARGE8",
"system_disk": {
"disk_size": 100,
"disk_type": "CLOUD_HSSD",
},
"data_disks": [
{
"_disk_index": "core_disk_1",
"disk_size": 100,
"disk_type": "CLOUD_SSD",
},
{
"_disk_index": "core_disk_2",
"disk_size": 100,
"disk_type": "CLOUD_SSD",
},
],
"softwares": [
{
"services": "RUNTIME-1.0.0",
"roles": ["Sysctl"],
},
{
"services": "FILEBEAT-7.2.0",
"roles": ["Filebeat"],
},
{
"services": "HDFS-3.2.2",
"roles": ["DataNode"],
},
{
"services": "YARN-3.2.2",
"roles": ["NodeManager"],
},
],
},
{
"_node_index": "core_node_3",
"instance_type": "SA5.LARGE8",
"system_disk": {
"disk_size": 100,
"disk_type": "CLOUD_HSSD",
},
"data_disks": [
{
"_disk_index": "core_disk_1",
"disk_size": 100,
"disk_type": "CLOUD_SSD",
},
{
"_disk_index": "core_disk_2",
"disk_size": 100,
"disk_type": "CLOUD_SSD",
},
],
"softwares": [
{
"services": "RUNTIME-1.0.0",
"roles": ["Sysctl"],
},
{
"services": "FILEBEAT-7.2.0",
"roles": ["Filebeat"],
},
{
"services": "HDFS-3.2.2",
"roles": ["DataNode"],
},
{
"services": "YARN-3.2.2",
"roles": ["NodeManager"],
},
],
},
],
"task_resource_specs": [
{
"_node_index": "task_node_1",
"instance_type": "SA5.LARGE8",
"system_disk": {
"disk_size": 100,
"disk_type": "CLOUD_HSSD",
},
"data_disks": [
{
"_disk_index": "task_disk_1",
"disk_size": 100,
"disk_type": "CLOUD_SSD",
},
{
"_disk_index": "task_disk_2",
"disk_size": 100,
"disk_type": "CLOUD_SSD",
},
],
"softwares": [
{
"services": "RUNTIME-1.0.0",
"roles": ["Sysctl"],
},
{
"services": "FILEBEAT-7.2.0",
"roles": ["Filebeat"],
},
{
"services": "YARN-3.2.2",
"roles": ["NodeManager"],
},
],
},
{
"_node_index": "task_node_2",
"instance_type": "SA5.LARGE8",
"system_disk": {
"disk_size": 100,
"disk_type": "CLOUD_HSSD",
},
"data_disks": [
{
"_disk_index": "task_disk_1",
"disk_size": 100,
"disk_type": "CLOUD_SSD",
},
{
"_disk_index": "task_disk_2",
"disk_size": 100,
"disk_type": "CLOUD_SSD",
},
],
"softwares": [
{
"services": "RUNTIME-1.0.0",
"roles": ["Sysctl"],
},
{
"services": "FILEBEAT-7.2.0",
"roles": ["Filebeat"],
},
{
"services": "YARN-3.2.2",
"roles": ["NodeManager"],
},
],
},
],
"common_resource_specs": [
{
"_node_index": "common_node_1",
"instance_type": "SA5.LARGE8",
"system_disk": {
"disk_size": 100,
"disk_type": "CLOUD_HSSD",
},
"data_disks": [{
"_disk_index": "common_disk_1",
"disk_size": 100,
"disk_type": "CLOUD_SSD",
}],
"softwares": [
{
"services": "RUNTIME-1.0.0",
"roles": ["Sysctl"],
},
{
"services": "FILEBEAT-7.2.0",
"roles": ["Filebeat"],
},
{
"services": "HDFS-3.2.2",
"roles": ["JournalNode"],
},
{
"services": "ZOOKEEPER-3.6.3",
"roles": ["Zookeeper"],
},
],
},
{
"_node_index": "common_node_2",
"instance_type": "SA5.LARGE8",
"system_disk": {
"disk_size": 100,
"disk_type": "CLOUD_HSSD",
},
"data_disks": [{
"_disk_index": "common_disk_1",
"disk_size": 100,
"disk_type": "CLOUD_SSD",
}],
"softwares": [
{
"services": "RUNTIME-1.0.0",
"roles": ["Sysctl"],
},
{
"services": "FILEBEAT-7.2.0",
"roles": ["Filebeat"],
},
{
"services": "HDFS-3.2.2",
"roles": ["JournalNode"],
},
{
"services": "ZOOKEEPER-3.6.3",
"roles": ["Zookeeper"],
},
],
},
{
"_node_index": "common_node_3",
"instance_type": "SA5.LARGE8",
"system_disk": {
"disk_size": 100,
"disk_type": "CLOUD_HSSD",
},
"data_disks": [{
"_disk_index": "common_disk_1",
"disk_size": 100,
"disk_type": "CLOUD_SSD",
}],
"softwares": [
{
"services": "RUNTIME-1.0.0",
"roles": ["Sysctl"],
},
{
"services": "FILEBEAT-7.2.0",
"roles": ["Filebeat"],
},
{
"services": "HDFS-3.2.2",
"roles": ["JournalNode"],
},
{
"services": "ZOOKEEPER-3.6.3",
"roles": ["Zookeeper"],
},
],
},
],
},
}])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.NewEmrClusterV2(ctx, "example", &tencentcloud.EmrClusterV2Args{
ProductVersion: pulumi.String("EMR-V3.6.0"),
EnableSupportHaFlag: pulumi.Bool(true),
InstanceName: pulumi.String("tf-example"),
InstanceChargeType: pulumi.String("POSTPAID_BY_HOUR"),
NeedMasterWan: pulumi.String("NEED_MASTER_WAN"),
LoginSettings: &tencentcloud.EmrClusterV2LoginSettingsArgs{
Password: pulumi.String("Password@123"),
},
SceneSoftwareConfig: &tencentcloud.EmrClusterV2SceneSoftwareConfigArgs{
SceneName: pulumi.String("Hadoop-Default"),
},
MetaDbInfo: &tencentcloud.EmrClusterV2MetaDbInfoArgs{
MetaType: pulumi.String("EMR_DEFAULT_META"),
},
Tags: tencentcloud.EmrClusterV2TagArray{
&tencentcloud.EmrClusterV2TagArgs{
TagKey: pulumi.String("createBy"),
TagValue: pulumi.String("Terraform"),
},
},
SecurityGroupIds: pulumi.StringArray{
pulumi.String("sg-37tigqat"),
},
SgIp: pulumi.String("10.0.0.0/8"),
ZoneResourceConfigurations: tencentcloud.EmrClusterV2ZoneResourceConfigurationArray{
&tencentcloud.EmrClusterV2ZoneResourceConfigurationArgs{
VirtualPrivateCloud: &tencentcloud.EmrClusterV2ZoneResourceConfigurationVirtualPrivateCloudArgs{
VpcId: pulumi.String("vpc-i5yyodl9"),
SubnetId: pulumi.String("subnet-hhi88a58"),
},
Placement: &tencentcloud.EmrClusterV2ZoneResourceConfigurationPlacementArgs{
Zone: pulumi.String("ap-guangzhou-6"),
},
AllNodeResourceSpec: &tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecArgs{
MasterResourceSpecs: tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecArray{
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecArgs{
_nodeIndex: pulumi.String("master_node_1"),
InstanceType: pulumi.String("SA5.2XLARGE16"),
SystemDisk: &tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSystemDiskArgs{
DiskSize: pulumi.Float64(100),
DiskType: pulumi.String("CLOUD_HSSD"),
},
DataDisks: tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecDataDiskArray{
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecDataDiskArgs{
_diskIndex: pulumi.String("master_disk_1"),
DiskSize: pulumi.Float64(100),
DiskType: pulumi.String("CLOUD_SSD"),
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecDataDiskArgs{
_diskIndex: pulumi.String("master_disk_2"),
DiskSize: pulumi.Float64(200),
DiskType: pulumi.String("CLOUD_SSD"),
},
},
Softwares: tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArray{
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArgs{
Services: pulumi.String("RUNTIME-1.0.0"),
Roles: pulumi.StringArray{
pulumi.String("Sysctl"),
},
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArgs{
Services: pulumi.String("FILEBEAT-7.2.0"),
Roles: pulumi.StringArray{
pulumi.String("Filebeat"),
},
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArgs{
Services: pulumi.String("HDFS-3.2.2"),
Roles: pulumi.StringArray{
pulumi.String("NameNode"),
pulumi.String("ZKFailoverController"),
},
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArgs{
Services: pulumi.String("YARN-3.2.2"),
Roles: pulumi.StringArray{
pulumi.String("ResourceManager"),
pulumi.String("JobHistoryServer"),
pulumi.String("TimeLineServer"),
},
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArgs{
Services: pulumi.String("OPENLDAP-2.4.44"),
Roles: pulumi.StringArray{
pulumi.String("slapd"),
},
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArgs{
Services: pulumi.String("KNOX-1.6.1"),
Roles: pulumi.StringArray{
pulumi.String("gateway"),
pulumi.String("ldap"),
},
},
},
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecArgs{
_nodeIndex: pulumi.String("master_node_2"),
InstanceType: pulumi.String("SA5.2XLARGE16"),
SystemDisk: &tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSystemDiskArgs{
DiskSize: pulumi.Float64(100),
DiskType: pulumi.String("CLOUD_HSSD"),
},
DataDisks: tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecDataDiskArray{
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecDataDiskArgs{
_diskIndex: pulumi.String("master_disk_1"),
DiskSize: pulumi.Float64(100),
DiskType: pulumi.String("CLOUD_SSD"),
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecDataDiskArgs{
_diskIndex: pulumi.String("master_disk_2"),
DiskSize: pulumi.Float64(200),
DiskType: pulumi.String("CLOUD_SSD"),
},
},
Softwares: tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArray{
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArgs{
Services: pulumi.String("RUNTIME-1.0.0"),
Roles: pulumi.StringArray{
pulumi.String("Sysctl"),
},
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArgs{
Services: pulumi.String("FILEBEAT-7.2.0"),
Roles: pulumi.StringArray{
pulumi.String("Filebeat"),
},
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArgs{
Services: pulumi.String("HDFS-3.2.2"),
Roles: pulumi.StringArray{
pulumi.String("NameNode"),
pulumi.String("ZKFailoverController"),
},
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArgs{
Services: pulumi.String("YARN-3.2.2"),
Roles: pulumi.StringArray{
pulumi.String("ResourceManager"),
pulumi.String("JobHistoryServer"),
pulumi.String("TimeLineServer"),
},
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArgs{
Services: pulumi.String("OPENLDAP-2.4.44"),
Roles: pulumi.StringArray{
pulumi.String("slapd"),
},
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArgs{
Services: pulumi.String("KNOX-1.6.1"),
Roles: pulumi.StringArray{
pulumi.String("gateway"),
pulumi.String("ldap"),
},
},
},
},
},
CoreResourceSpecs: tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecArray{
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecArgs{
_nodeIndex: pulumi.String("core_node_1"),
InstanceType: pulumi.String("SA5.LARGE8"),
SystemDisk: &tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSystemDiskArgs{
DiskSize: pulumi.Float64(100),
DiskType: pulumi.String("CLOUD_HSSD"),
},
DataDisks: tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecDataDiskArray{
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecDataDiskArgs{
_diskIndex: pulumi.String("core_disk_1"),
DiskSize: pulumi.Float64(100),
DiskType: pulumi.String("CLOUD_SSD"),
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecDataDiskArgs{
_diskIndex: pulumi.String("core_disk_2"),
DiskSize: pulumi.Float64(100),
DiskType: pulumi.String("CLOUD_SSD"),
},
},
Softwares: tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArray{
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArgs{
Services: pulumi.String("RUNTIME-1.0.0"),
Roles: pulumi.StringArray{
pulumi.String("Sysctl"),
},
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArgs{
Services: pulumi.String("FILEBEAT-7.2.0"),
Roles: pulumi.StringArray{
pulumi.String("Filebeat"),
},
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArgs{
Services: pulumi.String("HDFS-3.2.2"),
Roles: pulumi.StringArray{
pulumi.String("DataNode"),
},
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArgs{
Services: pulumi.String("YARN-3.2.2"),
Roles: pulumi.StringArray{
pulumi.String("NodeManager"),
},
},
},
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecArgs{
_nodeIndex: pulumi.String("core_node_2"),
InstanceType: pulumi.String("SA5.LARGE8"),
SystemDisk: &tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSystemDiskArgs{
DiskSize: pulumi.Float64(100),
DiskType: pulumi.String("CLOUD_HSSD"),
},
DataDisks: tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecDataDiskArray{
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecDataDiskArgs{
_diskIndex: pulumi.String("core_disk_1"),
DiskSize: pulumi.Float64(100),
DiskType: pulumi.String("CLOUD_SSD"),
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecDataDiskArgs{
_diskIndex: pulumi.String("core_disk_2"),
DiskSize: pulumi.Float64(100),
DiskType: pulumi.String("CLOUD_SSD"),
},
},
Softwares: tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArray{
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArgs{
Services: pulumi.String("RUNTIME-1.0.0"),
Roles: pulumi.StringArray{
pulumi.String("Sysctl"),
},
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArgs{
Services: pulumi.String("FILEBEAT-7.2.0"),
Roles: pulumi.StringArray{
pulumi.String("Filebeat"),
},
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArgs{
Services: pulumi.String("HDFS-3.2.2"),
Roles: pulumi.StringArray{
pulumi.String("DataNode"),
},
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArgs{
Services: pulumi.String("YARN-3.2.2"),
Roles: pulumi.StringArray{
pulumi.String("NodeManager"),
},
},
},
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecArgs{
_nodeIndex: pulumi.String("core_node_3"),
InstanceType: pulumi.String("SA5.LARGE8"),
SystemDisk: &tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSystemDiskArgs{
DiskSize: pulumi.Float64(100),
DiskType: pulumi.String("CLOUD_HSSD"),
},
DataDisks: tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecDataDiskArray{
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecDataDiskArgs{
_diskIndex: pulumi.String("core_disk_1"),
DiskSize: pulumi.Float64(100),
DiskType: pulumi.String("CLOUD_SSD"),
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecDataDiskArgs{
_diskIndex: pulumi.String("core_disk_2"),
DiskSize: pulumi.Float64(100),
DiskType: pulumi.String("CLOUD_SSD"),
},
},
Softwares: tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArray{
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArgs{
Services: pulumi.String("RUNTIME-1.0.0"),
Roles: pulumi.StringArray{
pulumi.String("Sysctl"),
},
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArgs{
Services: pulumi.String("FILEBEAT-7.2.0"),
Roles: pulumi.StringArray{
pulumi.String("Filebeat"),
},
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArgs{
Services: pulumi.String("HDFS-3.2.2"),
Roles: pulumi.StringArray{
pulumi.String("DataNode"),
},
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArgs{
Services: pulumi.String("YARN-3.2.2"),
Roles: pulumi.StringArray{
pulumi.String("NodeManager"),
},
},
},
},
},
TaskResourceSpecs: tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecArray{
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecArgs{
_nodeIndex: pulumi.String("task_node_1"),
InstanceType: pulumi.String("SA5.LARGE8"),
SystemDisk: &tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecSystemDiskArgs{
DiskSize: pulumi.Float64(100),
DiskType: pulumi.String("CLOUD_HSSD"),
},
DataDisks: tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecDataDiskArray{
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecDataDiskArgs{
_diskIndex: pulumi.String("task_disk_1"),
DiskSize: pulumi.Float64(100),
DiskType: pulumi.String("CLOUD_SSD"),
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecDataDiskArgs{
_diskIndex: pulumi.String("task_disk_2"),
DiskSize: pulumi.Float64(100),
DiskType: pulumi.String("CLOUD_SSD"),
},
},
Softwares: tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecSoftwareArray{
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecSoftwareArgs{
Services: pulumi.String("RUNTIME-1.0.0"),
Roles: pulumi.StringArray{
pulumi.String("Sysctl"),
},
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecSoftwareArgs{
Services: pulumi.String("FILEBEAT-7.2.0"),
Roles: pulumi.StringArray{
pulumi.String("Filebeat"),
},
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecSoftwareArgs{
Services: pulumi.String("YARN-3.2.2"),
Roles: pulumi.StringArray{
pulumi.String("NodeManager"),
},
},
},
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecArgs{
_nodeIndex: pulumi.String("task_node_2"),
InstanceType: pulumi.String("SA5.LARGE8"),
SystemDisk: &tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecSystemDiskArgs{
DiskSize: pulumi.Float64(100),
DiskType: pulumi.String("CLOUD_HSSD"),
},
DataDisks: tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecDataDiskArray{
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecDataDiskArgs{
_diskIndex: pulumi.String("task_disk_1"),
DiskSize: pulumi.Float64(100),
DiskType: pulumi.String("CLOUD_SSD"),
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecDataDiskArgs{
_diskIndex: pulumi.String("task_disk_2"),
DiskSize: pulumi.Float64(100),
DiskType: pulumi.String("CLOUD_SSD"),
},
},
Softwares: tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecSoftwareArray{
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecSoftwareArgs{
Services: pulumi.String("RUNTIME-1.0.0"),
Roles: pulumi.StringArray{
pulumi.String("Sysctl"),
},
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecSoftwareArgs{
Services: pulumi.String("FILEBEAT-7.2.0"),
Roles: pulumi.StringArray{
pulumi.String("Filebeat"),
},
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecSoftwareArgs{
Services: pulumi.String("YARN-3.2.2"),
Roles: pulumi.StringArray{
pulumi.String("NodeManager"),
},
},
},
},
},
CommonResourceSpecs: tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecArray{
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecArgs{
_nodeIndex: pulumi.String("common_node_1"),
InstanceType: pulumi.String("SA5.LARGE8"),
SystemDisk: &tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSystemDiskArgs{
DiskSize: pulumi.Float64(100),
DiskType: pulumi.String("CLOUD_HSSD"),
},
DataDisks: tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecDataDiskArray{
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecDataDiskArgs{
_diskIndex: pulumi.String("common_disk_1"),
DiskSize: pulumi.Float64(100),
DiskType: pulumi.String("CLOUD_SSD"),
},
},
Softwares: tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArray{
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArgs{
Services: pulumi.String("RUNTIME-1.0.0"),
Roles: pulumi.StringArray{
pulumi.String("Sysctl"),
},
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArgs{
Services: pulumi.String("FILEBEAT-7.2.0"),
Roles: pulumi.StringArray{
pulumi.String("Filebeat"),
},
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArgs{
Services: pulumi.String("HDFS-3.2.2"),
Roles: pulumi.StringArray{
pulumi.String("JournalNode"),
},
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArgs{
Services: pulumi.String("ZOOKEEPER-3.6.3"),
Roles: pulumi.StringArray{
pulumi.String("Zookeeper"),
},
},
},
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecArgs{
_nodeIndex: pulumi.String("common_node_2"),
InstanceType: pulumi.String("SA5.LARGE8"),
SystemDisk: &tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSystemDiskArgs{
DiskSize: pulumi.Float64(100),
DiskType: pulumi.String("CLOUD_HSSD"),
},
DataDisks: tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecDataDiskArray{
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecDataDiskArgs{
_diskIndex: pulumi.String("common_disk_1"),
DiskSize: pulumi.Float64(100),
DiskType: pulumi.String("CLOUD_SSD"),
},
},
Softwares: tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArray{
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArgs{
Services: pulumi.String("RUNTIME-1.0.0"),
Roles: pulumi.StringArray{
pulumi.String("Sysctl"),
},
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArgs{
Services: pulumi.String("FILEBEAT-7.2.0"),
Roles: pulumi.StringArray{
pulumi.String("Filebeat"),
},
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArgs{
Services: pulumi.String("HDFS-3.2.2"),
Roles: pulumi.StringArray{
pulumi.String("JournalNode"),
},
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArgs{
Services: pulumi.String("ZOOKEEPER-3.6.3"),
Roles: pulumi.StringArray{
pulumi.String("Zookeeper"),
},
},
},
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecArgs{
_nodeIndex: pulumi.String("common_node_3"),
InstanceType: pulumi.String("SA5.LARGE8"),
SystemDisk: &tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSystemDiskArgs{
DiskSize: pulumi.Float64(100),
DiskType: pulumi.String("CLOUD_HSSD"),
},
DataDisks: tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecDataDiskArray{
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecDataDiskArgs{
_diskIndex: pulumi.String("common_disk_1"),
DiskSize: pulumi.Float64(100),
DiskType: pulumi.String("CLOUD_SSD"),
},
},
Softwares: tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArray{
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArgs{
Services: pulumi.String("RUNTIME-1.0.0"),
Roles: pulumi.StringArray{
pulumi.String("Sysctl"),
},
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArgs{
Services: pulumi.String("FILEBEAT-7.2.0"),
Roles: pulumi.StringArray{
pulumi.String("Filebeat"),
},
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArgs{
Services: pulumi.String("HDFS-3.2.2"),
Roles: pulumi.StringArray{
pulumi.String("JournalNode"),
},
},
&tencentcloud.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArgs{
Services: pulumi.String("ZOOKEEPER-3.6.3"),
Roles: pulumi.StringArray{
pulumi.String("Zookeeper"),
},
},
},
},
},
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = new Tencentcloud.EmrClusterV2("example", new()
{
ProductVersion = "EMR-V3.6.0",
EnableSupportHaFlag = true,
InstanceName = "tf-example",
InstanceChargeType = "POSTPAID_BY_HOUR",
NeedMasterWan = "NEED_MASTER_WAN",
LoginSettings = new Tencentcloud.Inputs.EmrClusterV2LoginSettingsArgs
{
Password = "Password@123",
},
SceneSoftwareConfig = new Tencentcloud.Inputs.EmrClusterV2SceneSoftwareConfigArgs
{
SceneName = "Hadoop-Default",
},
MetaDbInfo = new Tencentcloud.Inputs.EmrClusterV2MetaDbInfoArgs
{
MetaType = "EMR_DEFAULT_META",
},
Tags = new[]
{
new Tencentcloud.Inputs.EmrClusterV2TagArgs
{
TagKey = "createBy",
TagValue = "Terraform",
},
},
SecurityGroupIds = new[]
{
"sg-37tigqat",
},
SgIp = "10.0.0.0/8",
ZoneResourceConfigurations = new[]
{
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationArgs
{
VirtualPrivateCloud = new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationVirtualPrivateCloudArgs
{
VpcId = "vpc-i5yyodl9",
SubnetId = "subnet-hhi88a58",
},
Placement = new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationPlacementArgs
{
Zone = "ap-guangzhou-6",
},
AllNodeResourceSpec = new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecArgs
{
MasterResourceSpecs = new[]
{
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecArgs
{
_nodeIndex = "master_node_1",
InstanceType = "SA5.2XLARGE16",
SystemDisk = new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSystemDiskArgs
{
DiskSize = 100,
DiskType = "CLOUD_HSSD",
},
DataDisks = new[]
{
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecDataDiskArgs
{
_diskIndex = "master_disk_1",
DiskSize = 100,
DiskType = "CLOUD_SSD",
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecDataDiskArgs
{
_diskIndex = "master_disk_2",
DiskSize = 200,
DiskType = "CLOUD_SSD",
},
},
Softwares = new[]
{
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArgs
{
Services = "RUNTIME-1.0.0",
Roles = new[]
{
"Sysctl",
},
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArgs
{
Services = "FILEBEAT-7.2.0",
Roles = new[]
{
"Filebeat",
},
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArgs
{
Services = "HDFS-3.2.2",
Roles = new[]
{
"NameNode",
"ZKFailoverController",
},
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArgs
{
Services = "YARN-3.2.2",
Roles = new[]
{
"ResourceManager",
"JobHistoryServer",
"TimeLineServer",
},
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArgs
{
Services = "OPENLDAP-2.4.44",
Roles = new[]
{
"slapd",
},
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArgs
{
Services = "KNOX-1.6.1",
Roles = new[]
{
"gateway",
"ldap",
},
},
},
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecArgs
{
_nodeIndex = "master_node_2",
InstanceType = "SA5.2XLARGE16",
SystemDisk = new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSystemDiskArgs
{
DiskSize = 100,
DiskType = "CLOUD_HSSD",
},
DataDisks = new[]
{
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecDataDiskArgs
{
_diskIndex = "master_disk_1",
DiskSize = 100,
DiskType = "CLOUD_SSD",
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecDataDiskArgs
{
_diskIndex = "master_disk_2",
DiskSize = 200,
DiskType = "CLOUD_SSD",
},
},
Softwares = new[]
{
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArgs
{
Services = "RUNTIME-1.0.0",
Roles = new[]
{
"Sysctl",
},
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArgs
{
Services = "FILEBEAT-7.2.0",
Roles = new[]
{
"Filebeat",
},
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArgs
{
Services = "HDFS-3.2.2",
Roles = new[]
{
"NameNode",
"ZKFailoverController",
},
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArgs
{
Services = "YARN-3.2.2",
Roles = new[]
{
"ResourceManager",
"JobHistoryServer",
"TimeLineServer",
},
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArgs
{
Services = "OPENLDAP-2.4.44",
Roles = new[]
{
"slapd",
},
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArgs
{
Services = "KNOX-1.6.1",
Roles = new[]
{
"gateway",
"ldap",
},
},
},
},
},
CoreResourceSpecs = new[]
{
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecArgs
{
_nodeIndex = "core_node_1",
InstanceType = "SA5.LARGE8",
SystemDisk = new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSystemDiskArgs
{
DiskSize = 100,
DiskType = "CLOUD_HSSD",
},
DataDisks = new[]
{
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecDataDiskArgs
{
_diskIndex = "core_disk_1",
DiskSize = 100,
DiskType = "CLOUD_SSD",
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecDataDiskArgs
{
_diskIndex = "core_disk_2",
DiskSize = 100,
DiskType = "CLOUD_SSD",
},
},
Softwares = new[]
{
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArgs
{
Services = "RUNTIME-1.0.0",
Roles = new[]
{
"Sysctl",
},
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArgs
{
Services = "FILEBEAT-7.2.0",
Roles = new[]
{
"Filebeat",
},
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArgs
{
Services = "HDFS-3.2.2",
Roles = new[]
{
"DataNode",
},
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArgs
{
Services = "YARN-3.2.2",
Roles = new[]
{
"NodeManager",
},
},
},
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecArgs
{
_nodeIndex = "core_node_2",
InstanceType = "SA5.LARGE8",
SystemDisk = new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSystemDiskArgs
{
DiskSize = 100,
DiskType = "CLOUD_HSSD",
},
DataDisks = new[]
{
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecDataDiskArgs
{
_diskIndex = "core_disk_1",
DiskSize = 100,
DiskType = "CLOUD_SSD",
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecDataDiskArgs
{
_diskIndex = "core_disk_2",
DiskSize = 100,
DiskType = "CLOUD_SSD",
},
},
Softwares = new[]
{
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArgs
{
Services = "RUNTIME-1.0.0",
Roles = new[]
{
"Sysctl",
},
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArgs
{
Services = "FILEBEAT-7.2.0",
Roles = new[]
{
"Filebeat",
},
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArgs
{
Services = "HDFS-3.2.2",
Roles = new[]
{
"DataNode",
},
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArgs
{
Services = "YARN-3.2.2",
Roles = new[]
{
"NodeManager",
},
},
},
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecArgs
{
_nodeIndex = "core_node_3",
InstanceType = "SA5.LARGE8",
SystemDisk = new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSystemDiskArgs
{
DiskSize = 100,
DiskType = "CLOUD_HSSD",
},
DataDisks = new[]
{
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecDataDiskArgs
{
_diskIndex = "core_disk_1",
DiskSize = 100,
DiskType = "CLOUD_SSD",
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecDataDiskArgs
{
_diskIndex = "core_disk_2",
DiskSize = 100,
DiskType = "CLOUD_SSD",
},
},
Softwares = new[]
{
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArgs
{
Services = "RUNTIME-1.0.0",
Roles = new[]
{
"Sysctl",
},
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArgs
{
Services = "FILEBEAT-7.2.0",
Roles = new[]
{
"Filebeat",
},
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArgs
{
Services = "HDFS-3.2.2",
Roles = new[]
{
"DataNode",
},
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArgs
{
Services = "YARN-3.2.2",
Roles = new[]
{
"NodeManager",
},
},
},
},
},
TaskResourceSpecs = new[]
{
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecArgs
{
_nodeIndex = "task_node_1",
InstanceType = "SA5.LARGE8",
SystemDisk = new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecSystemDiskArgs
{
DiskSize = 100,
DiskType = "CLOUD_HSSD",
},
DataDisks = new[]
{
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecDataDiskArgs
{
_diskIndex = "task_disk_1",
DiskSize = 100,
DiskType = "CLOUD_SSD",
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecDataDiskArgs
{
_diskIndex = "task_disk_2",
DiskSize = 100,
DiskType = "CLOUD_SSD",
},
},
Softwares = new[]
{
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecSoftwareArgs
{
Services = "RUNTIME-1.0.0",
Roles = new[]
{
"Sysctl",
},
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecSoftwareArgs
{
Services = "FILEBEAT-7.2.0",
Roles = new[]
{
"Filebeat",
},
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecSoftwareArgs
{
Services = "YARN-3.2.2",
Roles = new[]
{
"NodeManager",
},
},
},
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecArgs
{
_nodeIndex = "task_node_2",
InstanceType = "SA5.LARGE8",
SystemDisk = new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecSystemDiskArgs
{
DiskSize = 100,
DiskType = "CLOUD_HSSD",
},
DataDisks = new[]
{
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecDataDiskArgs
{
_diskIndex = "task_disk_1",
DiskSize = 100,
DiskType = "CLOUD_SSD",
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecDataDiskArgs
{
_diskIndex = "task_disk_2",
DiskSize = 100,
DiskType = "CLOUD_SSD",
},
},
Softwares = new[]
{
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecSoftwareArgs
{
Services = "RUNTIME-1.0.0",
Roles = new[]
{
"Sysctl",
},
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecSoftwareArgs
{
Services = "FILEBEAT-7.2.0",
Roles = new[]
{
"Filebeat",
},
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecSoftwareArgs
{
Services = "YARN-3.2.2",
Roles = new[]
{
"NodeManager",
},
},
},
},
},
CommonResourceSpecs = new[]
{
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecArgs
{
_nodeIndex = "common_node_1",
InstanceType = "SA5.LARGE8",
SystemDisk = new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSystemDiskArgs
{
DiskSize = 100,
DiskType = "CLOUD_HSSD",
},
DataDisks = new[]
{
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecDataDiskArgs
{
_diskIndex = "common_disk_1",
DiskSize = 100,
DiskType = "CLOUD_SSD",
},
},
Softwares = new[]
{
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArgs
{
Services = "RUNTIME-1.0.0",
Roles = new[]
{
"Sysctl",
},
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArgs
{
Services = "FILEBEAT-7.2.0",
Roles = new[]
{
"Filebeat",
},
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArgs
{
Services = "HDFS-3.2.2",
Roles = new[]
{
"JournalNode",
},
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArgs
{
Services = "ZOOKEEPER-3.6.3",
Roles = new[]
{
"Zookeeper",
},
},
},
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecArgs
{
_nodeIndex = "common_node_2",
InstanceType = "SA5.LARGE8",
SystemDisk = new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSystemDiskArgs
{
DiskSize = 100,
DiskType = "CLOUD_HSSD",
},
DataDisks = new[]
{
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecDataDiskArgs
{
_diskIndex = "common_disk_1",
DiskSize = 100,
DiskType = "CLOUD_SSD",
},
},
Softwares = new[]
{
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArgs
{
Services = "RUNTIME-1.0.0",
Roles = new[]
{
"Sysctl",
},
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArgs
{
Services = "FILEBEAT-7.2.0",
Roles = new[]
{
"Filebeat",
},
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArgs
{
Services = "HDFS-3.2.2",
Roles = new[]
{
"JournalNode",
},
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArgs
{
Services = "ZOOKEEPER-3.6.3",
Roles = new[]
{
"Zookeeper",
},
},
},
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecArgs
{
_nodeIndex = "common_node_3",
InstanceType = "SA5.LARGE8",
SystemDisk = new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSystemDiskArgs
{
DiskSize = 100,
DiskType = "CLOUD_HSSD",
},
DataDisks = new[]
{
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecDataDiskArgs
{
_diskIndex = "common_disk_1",
DiskSize = 100,
DiskType = "CLOUD_SSD",
},
},
Softwares = new[]
{
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArgs
{
Services = "RUNTIME-1.0.0",
Roles = new[]
{
"Sysctl",
},
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArgs
{
Services = "FILEBEAT-7.2.0",
Roles = new[]
{
"Filebeat",
},
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArgs
{
Services = "HDFS-3.2.2",
Roles = new[]
{
"JournalNode",
},
},
new Tencentcloud.Inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArgs
{
Services = "ZOOKEEPER-3.6.3",
Roles = new[]
{
"Zookeeper",
},
},
},
},
},
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.EmrClusterV2;
import com.pulumi.tencentcloud.EmrClusterV2Args;
import com.pulumi.tencentcloud.inputs.EmrClusterV2LoginSettingsArgs;
import com.pulumi.tencentcloud.inputs.EmrClusterV2SceneSoftwareConfigArgs;
import com.pulumi.tencentcloud.inputs.EmrClusterV2MetaDbInfoArgs;
import com.pulumi.tencentcloud.inputs.EmrClusterV2TagArgs;
import com.pulumi.tencentcloud.inputs.EmrClusterV2ZoneResourceConfigurationArgs;
import com.pulumi.tencentcloud.inputs.EmrClusterV2ZoneResourceConfigurationVirtualPrivateCloudArgs;
import com.pulumi.tencentcloud.inputs.EmrClusterV2ZoneResourceConfigurationPlacementArgs;
import com.pulumi.tencentcloud.inputs.EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new EmrClusterV2("example", EmrClusterV2Args.builder()
.productVersion("EMR-V3.6.0")
.enableSupportHaFlag(true)
.instanceName("tf-example")
.instanceChargeType("POSTPAID_BY_HOUR")
.needMasterWan("NEED_MASTER_WAN")
.loginSettings(EmrClusterV2LoginSettingsArgs.builder()
.password("Password@123")
.build())
.sceneSoftwareConfig(EmrClusterV2SceneSoftwareConfigArgs.builder()
.sceneName("Hadoop-Default")
.build())
.metaDbInfo(EmrClusterV2MetaDbInfoArgs.builder()
.metaType("EMR_DEFAULT_META")
.build())
.tags(EmrClusterV2TagArgs.builder()
.tagKey("createBy")
.tagValue("Terraform")
.build())
.securityGroupIds("sg-37tigqat")
.sgIp("10.0.0.0/8")
.zoneResourceConfigurations(EmrClusterV2ZoneResourceConfigurationArgs.builder()
.virtualPrivateCloud(EmrClusterV2ZoneResourceConfigurationVirtualPrivateCloudArgs.builder()
.vpcId("vpc-i5yyodl9")
.subnetId("subnet-hhi88a58")
.build())
.placement(EmrClusterV2ZoneResourceConfigurationPlacementArgs.builder()
.zone("ap-guangzhou-6")
.build())
.allNodeResourceSpec(EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecArgs.builder()
.masterResourceSpecs(
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecArgs.builder()
._nodeIndex("master_node_1")
.instanceType("SA5.2XLARGE16")
.systemDisk(EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSystemDiskArgs.builder()
.diskSize(100.0)
.diskType("CLOUD_HSSD")
.build())
.dataDisks(
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecDataDiskArgs.builder()
._diskIndex("master_disk_1")
.diskSize(100.0)
.diskType("CLOUD_SSD")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecDataDiskArgs.builder()
._diskIndex("master_disk_2")
.diskSize(200.0)
.diskType("CLOUD_SSD")
.build())
.softwares(
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArgs.builder()
.services("RUNTIME-1.0.0")
.roles("Sysctl")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArgs.builder()
.services("FILEBEAT-7.2.0")
.roles("Filebeat")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArgs.builder()
.services("HDFS-3.2.2")
.roles(
"NameNode",
"ZKFailoverController")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArgs.builder()
.services("YARN-3.2.2")
.roles(
"ResourceManager",
"JobHistoryServer",
"TimeLineServer")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArgs.builder()
.services("OPENLDAP-2.4.44")
.roles("slapd")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArgs.builder()
.services("KNOX-1.6.1")
.roles(
"gateway",
"ldap")
.build())
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecArgs.builder()
._nodeIndex("master_node_2")
.instanceType("SA5.2XLARGE16")
.systemDisk(EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSystemDiskArgs.builder()
.diskSize(100.0)
.diskType("CLOUD_HSSD")
.build())
.dataDisks(
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecDataDiskArgs.builder()
._diskIndex("master_disk_1")
.diskSize(100.0)
.diskType("CLOUD_SSD")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecDataDiskArgs.builder()
._diskIndex("master_disk_2")
.diskSize(200.0)
.diskType("CLOUD_SSD")
.build())
.softwares(
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArgs.builder()
.services("RUNTIME-1.0.0")
.roles("Sysctl")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArgs.builder()
.services("FILEBEAT-7.2.0")
.roles("Filebeat")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArgs.builder()
.services("HDFS-3.2.2")
.roles(
"NameNode",
"ZKFailoverController")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArgs.builder()
.services("YARN-3.2.2")
.roles(
"ResourceManager",
"JobHistoryServer",
"TimeLineServer")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArgs.builder()
.services("OPENLDAP-2.4.44")
.roles("slapd")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArgs.builder()
.services("KNOX-1.6.1")
.roles(
"gateway",
"ldap")
.build())
.build())
.coreResourceSpecs(
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecArgs.builder()
._nodeIndex("core_node_1")
.instanceType("SA5.LARGE8")
.systemDisk(EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSystemDiskArgs.builder()
.diskSize(100.0)
.diskType("CLOUD_HSSD")
.build())
.dataDisks(
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecDataDiskArgs.builder()
._diskIndex("core_disk_1")
.diskSize(100.0)
.diskType("CLOUD_SSD")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecDataDiskArgs.builder()
._diskIndex("core_disk_2")
.diskSize(100.0)
.diskType("CLOUD_SSD")
.build())
.softwares(
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArgs.builder()
.services("RUNTIME-1.0.0")
.roles("Sysctl")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArgs.builder()
.services("FILEBEAT-7.2.0")
.roles("Filebeat")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArgs.builder()
.services("HDFS-3.2.2")
.roles("DataNode")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArgs.builder()
.services("YARN-3.2.2")
.roles("NodeManager")
.build())
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecArgs.builder()
._nodeIndex("core_node_2")
.instanceType("SA5.LARGE8")
.systemDisk(EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSystemDiskArgs.builder()
.diskSize(100.0)
.diskType("CLOUD_HSSD")
.build())
.dataDisks(
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecDataDiskArgs.builder()
._diskIndex("core_disk_1")
.diskSize(100.0)
.diskType("CLOUD_SSD")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecDataDiskArgs.builder()
._diskIndex("core_disk_2")
.diskSize(100.0)
.diskType("CLOUD_SSD")
.build())
.softwares(
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArgs.builder()
.services("RUNTIME-1.0.0")
.roles("Sysctl")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArgs.builder()
.services("FILEBEAT-7.2.0")
.roles("Filebeat")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArgs.builder()
.services("HDFS-3.2.2")
.roles("DataNode")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArgs.builder()
.services("YARN-3.2.2")
.roles("NodeManager")
.build())
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecArgs.builder()
._nodeIndex("core_node_3")
.instanceType("SA5.LARGE8")
.systemDisk(EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSystemDiskArgs.builder()
.diskSize(100.0)
.diskType("CLOUD_HSSD")
.build())
.dataDisks(
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecDataDiskArgs.builder()
._diskIndex("core_disk_1")
.diskSize(100.0)
.diskType("CLOUD_SSD")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecDataDiskArgs.builder()
._diskIndex("core_disk_2")
.diskSize(100.0)
.diskType("CLOUD_SSD")
.build())
.softwares(
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArgs.builder()
.services("RUNTIME-1.0.0")
.roles("Sysctl")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArgs.builder()
.services("FILEBEAT-7.2.0")
.roles("Filebeat")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArgs.builder()
.services("HDFS-3.2.2")
.roles("DataNode")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArgs.builder()
.services("YARN-3.2.2")
.roles("NodeManager")
.build())
.build())
.taskResourceSpecs(
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecArgs.builder()
._nodeIndex("task_node_1")
.instanceType("SA5.LARGE8")
.systemDisk(EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecSystemDiskArgs.builder()
.diskSize(100.0)
.diskType("CLOUD_HSSD")
.build())
.dataDisks(
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecDataDiskArgs.builder()
._diskIndex("task_disk_1")
.diskSize(100.0)
.diskType("CLOUD_SSD")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecDataDiskArgs.builder()
._diskIndex("task_disk_2")
.diskSize(100.0)
.diskType("CLOUD_SSD")
.build())
.softwares(
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecSoftwareArgs.builder()
.services("RUNTIME-1.0.0")
.roles("Sysctl")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecSoftwareArgs.builder()
.services("FILEBEAT-7.2.0")
.roles("Filebeat")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecSoftwareArgs.builder()
.services("YARN-3.2.2")
.roles("NodeManager")
.build())
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecArgs.builder()
._nodeIndex("task_node_2")
.instanceType("SA5.LARGE8")
.systemDisk(EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecSystemDiskArgs.builder()
.diskSize(100.0)
.diskType("CLOUD_HSSD")
.build())
.dataDisks(
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecDataDiskArgs.builder()
._diskIndex("task_disk_1")
.diskSize(100.0)
.diskType("CLOUD_SSD")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecDataDiskArgs.builder()
._diskIndex("task_disk_2")
.diskSize(100.0)
.diskType("CLOUD_SSD")
.build())
.softwares(
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecSoftwareArgs.builder()
.services("RUNTIME-1.0.0")
.roles("Sysctl")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecSoftwareArgs.builder()
.services("FILEBEAT-7.2.0")
.roles("Filebeat")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecSoftwareArgs.builder()
.services("YARN-3.2.2")
.roles("NodeManager")
.build())
.build())
.commonResourceSpecs(
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecArgs.builder()
._nodeIndex("common_node_1")
.instanceType("SA5.LARGE8")
.systemDisk(EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSystemDiskArgs.builder()
.diskSize(100.0)
.diskType("CLOUD_HSSD")
.build())
.dataDisks(EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecDataDiskArgs.builder()
._diskIndex("common_disk_1")
.diskSize(100.0)
.diskType("CLOUD_SSD")
.build())
.softwares(
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArgs.builder()
.services("RUNTIME-1.0.0")
.roles("Sysctl")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArgs.builder()
.services("FILEBEAT-7.2.0")
.roles("Filebeat")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArgs.builder()
.services("HDFS-3.2.2")
.roles("JournalNode")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArgs.builder()
.services("ZOOKEEPER-3.6.3")
.roles("Zookeeper")
.build())
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecArgs.builder()
._nodeIndex("common_node_2")
.instanceType("SA5.LARGE8")
.systemDisk(EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSystemDiskArgs.builder()
.diskSize(100.0)
.diskType("CLOUD_HSSD")
.build())
.dataDisks(EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecDataDiskArgs.builder()
._diskIndex("common_disk_1")
.diskSize(100.0)
.diskType("CLOUD_SSD")
.build())
.softwares(
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArgs.builder()
.services("RUNTIME-1.0.0")
.roles("Sysctl")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArgs.builder()
.services("FILEBEAT-7.2.0")
.roles("Filebeat")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArgs.builder()
.services("HDFS-3.2.2")
.roles("JournalNode")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArgs.builder()
.services("ZOOKEEPER-3.6.3")
.roles("Zookeeper")
.build())
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecArgs.builder()
._nodeIndex("common_node_3")
.instanceType("SA5.LARGE8")
.systemDisk(EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSystemDiskArgs.builder()
.diskSize(100.0)
.diskType("CLOUD_HSSD")
.build())
.dataDisks(EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecDataDiskArgs.builder()
._diskIndex("common_disk_1")
.diskSize(100.0)
.diskType("CLOUD_SSD")
.build())
.softwares(
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArgs.builder()
.services("RUNTIME-1.0.0")
.roles("Sysctl")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArgs.builder()
.services("FILEBEAT-7.2.0")
.roles("Filebeat")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArgs.builder()
.services("HDFS-3.2.2")
.roles("JournalNode")
.build(),
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArgs.builder()
.services("ZOOKEEPER-3.6.3")
.roles("Zookeeper")
.build())
.build())
.build())
.build())
.build());
}
}
resources:
example:
type: tencentcloud:EmrClusterV2
properties:
productVersion: EMR-V3.6.0
enableSupportHaFlag: true
instanceName: tf-example
instanceChargeType: POSTPAID_BY_HOUR
needMasterWan: NEED_MASTER_WAN
loginSettings:
password: Password@123
sceneSoftwareConfig:
sceneName: Hadoop-Default
metaDbInfo:
metaType: EMR_DEFAULT_META
tags:
- tagKey: createBy
tagValue: Terraform
securityGroupIds:
- sg-37tigqat
sgIp: 10.0.0.0/8
zoneResourceConfigurations:
- virtualPrivateCloud:
vpcId: vpc-i5yyodl9
subnetId: subnet-hhi88a58
placement:
zone: ap-guangzhou-6
allNodeResourceSpec:
masterResourceSpecs:
- _nodeIndex: master_node_1
instanceType: SA5.2XLARGE16
systemDisk:
diskSize: 100
diskType: CLOUD_HSSD
dataDisks:
- _diskIndex: master_disk_1
diskSize: 100
diskType: CLOUD_SSD
- _diskIndex: master_disk_2
diskSize: 200
diskType: CLOUD_SSD
softwares:
- services: RUNTIME-1.0.0
roles:
- Sysctl
- services: FILEBEAT-7.2.0
roles:
- Filebeat
- services: HDFS-3.2.2
roles:
- NameNode
- ZKFailoverController
- services: YARN-3.2.2
roles:
- ResourceManager
- JobHistoryServer
- TimeLineServer
- services: OPENLDAP-2.4.44
roles:
- slapd
- services: KNOX-1.6.1
roles:
- gateway
- ldap
- _nodeIndex: master_node_2
instanceType: SA5.2XLARGE16
systemDisk:
diskSize: 100
diskType: CLOUD_HSSD
dataDisks:
- _diskIndex: master_disk_1
diskSize: 100
diskType: CLOUD_SSD
- _diskIndex: master_disk_2
diskSize: 200
diskType: CLOUD_SSD
softwares:
- services: RUNTIME-1.0.0
roles:
- Sysctl
- services: FILEBEAT-7.2.0
roles:
- Filebeat
- services: HDFS-3.2.2
roles:
- NameNode
- ZKFailoverController
- services: YARN-3.2.2
roles:
- ResourceManager
- JobHistoryServer
- TimeLineServer
- services: OPENLDAP-2.4.44
roles:
- slapd
- services: KNOX-1.6.1
roles:
- gateway
- ldap
coreResourceSpecs:
- _nodeIndex: core_node_1
instanceType: SA5.LARGE8
systemDisk:
diskSize: 100
diskType: CLOUD_HSSD
dataDisks:
- _diskIndex: core_disk_1
diskSize: 100
diskType: CLOUD_SSD
- _diskIndex: core_disk_2
diskSize: 100
diskType: CLOUD_SSD
softwares:
- services: RUNTIME-1.0.0
roles:
- Sysctl
- services: FILEBEAT-7.2.0
roles:
- Filebeat
- services: HDFS-3.2.2
roles:
- DataNode
- services: YARN-3.2.2
roles:
- NodeManager
- _nodeIndex: core_node_2
instanceType: SA5.LARGE8
systemDisk:
diskSize: 100
diskType: CLOUD_HSSD
dataDisks:
- _diskIndex: core_disk_1
diskSize: 100
diskType: CLOUD_SSD
- _diskIndex: core_disk_2
diskSize: 100
diskType: CLOUD_SSD
softwares:
- services: RUNTIME-1.0.0
roles:
- Sysctl
- services: FILEBEAT-7.2.0
roles:
- Filebeat
- services: HDFS-3.2.2
roles:
- DataNode
- services: YARN-3.2.2
roles:
- NodeManager
- _nodeIndex: core_node_3
instanceType: SA5.LARGE8
systemDisk:
diskSize: 100
diskType: CLOUD_HSSD
dataDisks:
- _diskIndex: core_disk_1
diskSize: 100
diskType: CLOUD_SSD
- _diskIndex: core_disk_2
diskSize: 100
diskType: CLOUD_SSD
softwares:
- services: RUNTIME-1.0.0
roles:
- Sysctl
- services: FILEBEAT-7.2.0
roles:
- Filebeat
- services: HDFS-3.2.2
roles:
- DataNode
- services: YARN-3.2.2
roles:
- NodeManager
taskResourceSpecs:
- _nodeIndex: task_node_1
instanceType: SA5.LARGE8
systemDisk:
diskSize: 100
diskType: CLOUD_HSSD
dataDisks:
- _diskIndex: task_disk_1
diskSize: 100
diskType: CLOUD_SSD
- _diskIndex: task_disk_2
diskSize: 100
diskType: CLOUD_SSD
softwares:
- services: RUNTIME-1.0.0
roles:
- Sysctl
- services: FILEBEAT-7.2.0
roles:
- Filebeat
- services: YARN-3.2.2
roles:
- NodeManager
- _nodeIndex: task_node_2
instanceType: SA5.LARGE8
systemDisk:
diskSize: 100
diskType: CLOUD_HSSD
dataDisks:
- _diskIndex: task_disk_1
diskSize: 100
diskType: CLOUD_SSD
- _diskIndex: task_disk_2
diskSize: 100
diskType: CLOUD_SSD
softwares:
- services: RUNTIME-1.0.0
roles:
- Sysctl
- services: FILEBEAT-7.2.0
roles:
- Filebeat
- services: YARN-3.2.2
roles:
- NodeManager
commonResourceSpecs:
- _nodeIndex: common_node_1
instanceType: SA5.LARGE8
systemDisk:
diskSize: 100
diskType: CLOUD_HSSD
dataDisks:
- _diskIndex: common_disk_1
diskSize: 100
diskType: CLOUD_SSD
softwares:
- services: RUNTIME-1.0.0
roles:
- Sysctl
- services: FILEBEAT-7.2.0
roles:
- Filebeat
- services: HDFS-3.2.2
roles:
- JournalNode
- services: ZOOKEEPER-3.6.3
roles:
- Zookeeper
- _nodeIndex: common_node_2
instanceType: SA5.LARGE8
systemDisk:
diskSize: 100
diskType: CLOUD_HSSD
dataDisks:
- _diskIndex: common_disk_1
diskSize: 100
diskType: CLOUD_SSD
softwares:
- services: RUNTIME-1.0.0
roles:
- Sysctl
- services: FILEBEAT-7.2.0
roles:
- Filebeat
- services: HDFS-3.2.2
roles:
- JournalNode
- services: ZOOKEEPER-3.6.3
roles:
- Zookeeper
- _nodeIndex: common_node_3
instanceType: SA5.LARGE8
systemDisk:
diskSize: 100
diskType: CLOUD_HSSD
dataDisks:
- _diskIndex: common_disk_1
diskSize: 100
diskType: CLOUD_SSD
softwares:
- services: RUNTIME-1.0.0
roles:
- Sysctl
- services: FILEBEAT-7.2.0
roles:
- Filebeat
- services: HDFS-3.2.2
roles:
- JournalNode
- services: ZOOKEEPER-3.6.3
roles:
- Zookeeper
Example coming soon!
Create EmrClusterV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EmrClusterV2(name: string, args: EmrClusterV2Args, opts?: CustomResourceOptions);@overload
def EmrClusterV2(resource_name: str,
args: EmrClusterV2Args,
opts: Optional[ResourceOptions] = None)
@overload
def EmrClusterV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
enable_support_ha_flag: Optional[bool] = None,
scene_software_config: Optional[EmrClusterV2SceneSoftwareConfigArgs] = None,
product_version: Optional[str] = None,
login_settings: Optional[EmrClusterV2LoginSettingsArgs] = None,
instance_name: Optional[str] = None,
instance_charge_type: Optional[str] = None,
enable_cbs_sys_encrypt_flag: Optional[bool] = None,
need_cdb_audit: Optional[float] = None,
enable_kerberos_flag: Optional[bool] = None,
enable_remote_login_flag: Optional[bool] = None,
enable_cbs_encrypt_flag: Optional[bool] = None,
instance_charge_prepaid: Optional[EmrClusterV2InstanceChargePrepaidArgs] = None,
emr_cluster_v2_id: Optional[str] = None,
disaster_recover_group_ids: Optional[Sequence[str]] = None,
load_balancer_id: Optional[str] = None,
depend_services: Optional[Sequence[EmrClusterV2DependServiceArgs]] = None,
meta_db_info: Optional[EmrClusterV2MetaDbInfoArgs] = None,
cos_bucket: Optional[str] = None,
need_master_wan: Optional[str] = None,
partition_number: Optional[float] = None,
default_meta_version: Optional[str] = None,
custom_conf: Optional[str] = None,
script_bootstrap_action_configs: Optional[Sequence[EmrClusterV2ScriptBootstrapActionConfigArgs]] = None,
security_group_ids: Optional[Sequence[str]] = None,
sg_ip: Optional[str] = None,
tags: Optional[Sequence[EmrClusterV2TagArgs]] = None,
timeouts: Optional[EmrClusterV2TimeoutsArgs] = None,
web_ui_version: Optional[float] = None,
zone_resource_configurations: Optional[Sequence[EmrClusterV2ZoneResourceConfigurationArgs]] = None)func NewEmrClusterV2(ctx *Context, name string, args EmrClusterV2Args, opts ...ResourceOption) (*EmrClusterV2, error)public EmrClusterV2(string name, EmrClusterV2Args args, CustomResourceOptions? opts = null)
public EmrClusterV2(String name, EmrClusterV2Args args)
public EmrClusterV2(String name, EmrClusterV2Args args, CustomResourceOptions options)
type: tencentcloud:EmrClusterV2
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "tencentcloud_emrclusterv2" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args EmrClusterV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args EmrClusterV2Args
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args EmrClusterV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EmrClusterV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EmrClusterV2Args
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
EmrClusterV2 Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The EmrClusterV2 resource accepts the following input properties:
- Enable
Support boolHa Flag - Whether to enable node high availability.
truemeans enabled,falsemeans disabled. - Instance
Charge stringType - Instance billing mode. Valid values:
PREPAID(monthly/yearly subscription),POSTPAID_BY_HOUR(pay-as-you-go). - Instance
Name string - Instance name. Length 6-36 characters. Only Chinese, letters, numbers,
-,_are allowed. - Login
Settings EmrCluster V2Login Settings - Login settings for purchased nodes.
- Product
Version string - EMR product version name, e.g.,
EMR-V3.5.0. - Scene
Software EmrConfig Cluster V2Scene Software Config - Cluster scenario configuration. Components to deploy are now declared per node role via the
soft_warefield inside each*_resource_specblock; the cluster-levelsoftwarelist below is computed (read-back from API) for observability. - Cos
Bucket string - COS bucket path, used when creating StarRocks storage-compute separation clusters.
- Custom
Conf string - Custom software configuration in JSON format.
- Default
Meta stringVersion - Default metadata DB version. Valid values:
mysql8,tdsql8,mysql5. - Depend
Services List<EmrCluster V2Depend Service> - Shared component dependency information.
- Disaster
Recover List<string>Group Ids - Spread placement group IDs. Currently supports only one ID.
- Emr
Cluster stringV2Id - ID of the resource.
- Enable
Cbs boolEncrypt Flag - Whether to enable cluster-level CBS encryption. Default is false.
- Enable
Cbs boolSys Encrypt Flag - Whether to enable CBS system encryption.
- Enable
Kerberos boolFlag - Whether to enable Kerberos authentication. Default is false.
- Enable
Remote boolLogin Flag - Whether to enable external remote login. Invalid when
security_group_idsis set. Default is false. - Instance
Charge EmrPrepaid Cluster V2Instance Charge Prepaid - Prepaid (monthly/yearly) billing parameters. Required when
instance_charge_typeisPREPAID. - Load
Balancer stringId - CLB instance ID, e.g.,
lb-xxxxxxxx. - Meta
Db EmrInfo Cluster V2Meta Db Info - Metadata database information. When
meta_typeisEMR_NEW_META/EMR_DEFAULT_META, no extra fields are required; whenEMR_EXIT_META,unify_meta_instance_idmust be set; whenUSER_CUSTOM_META,meta_data_jdbc_url/meta_data_user/meta_data_passmust be set. - Need
Cdb doubleAudit - Whether to enable database auditing.
- Need
Master stringWan - Whether to enable master public network. Valid values:
NEED_MASTER_WAN(default),NOT_NEED_MASTER_WAN. - Partition
Number double - Partition placement group partition number.
- Script
Bootstrap List<EmrAction Configs Cluster V2Script Bootstrap Action Config> - Bootstrap script configurations.
- Security
Group List<string>Ids - Security group IDs bound to the instance, e.g.,
["sg-xxxxxxxx"]. - Sg
Ip string - Security source IP, e.g.,
10.0.0.0/8. -
List<Emr
Cluster V2Tag> - Tags to bind to the cluster instance.
- Timeouts
Emr
Cluster V2Timeouts - Web
Ui doubleVersion - Service UI address version.
0: single URL (default);1: all URLs. - Zone
Resource List<EmrConfigurations Cluster V2Zone Resource Configuration> - Per-zone resource configuration. Supports 1 (single-AZ) or up to 3 entries (multi-AZ: primary, backup, arbitration). ZoneTag is derived automatically from the list index.
- Enable
Support boolHa Flag - Whether to enable node high availability.
truemeans enabled,falsemeans disabled. - Instance
Charge stringType - Instance billing mode. Valid values:
PREPAID(monthly/yearly subscription),POSTPAID_BY_HOUR(pay-as-you-go). - Instance
Name string - Instance name. Length 6-36 characters. Only Chinese, letters, numbers,
-,_are allowed. - Login
Settings EmrCluster V2Login Settings Args - Login settings for purchased nodes.
- Product
Version string - EMR product version name, e.g.,
EMR-V3.5.0. - Scene
Software EmrConfig Cluster V2Scene Software Config Args - Cluster scenario configuration. Components to deploy are now declared per node role via the
soft_warefield inside each*_resource_specblock; the cluster-levelsoftwarelist below is computed (read-back from API) for observability. - Cos
Bucket string - COS bucket path, used when creating StarRocks storage-compute separation clusters.
- Custom
Conf string - Custom software configuration in JSON format.
- Default
Meta stringVersion - Default metadata DB version. Valid values:
mysql8,tdsql8,mysql5. - Depend
Services []EmrCluster V2Depend Service Args - Shared component dependency information.
- Disaster
Recover []stringGroup Ids - Spread placement group IDs. Currently supports only one ID.
- Emr
Cluster stringV2Id - ID of the resource.
- Enable
Cbs boolEncrypt Flag - Whether to enable cluster-level CBS encryption. Default is false.
- Enable
Cbs boolSys Encrypt Flag - Whether to enable CBS system encryption.
- Enable
Kerberos boolFlag - Whether to enable Kerberos authentication. Default is false.
- Enable
Remote boolLogin Flag - Whether to enable external remote login. Invalid when
security_group_idsis set. Default is false. - Instance
Charge EmrPrepaid Cluster V2Instance Charge Prepaid Args - Prepaid (monthly/yearly) billing parameters. Required when
instance_charge_typeisPREPAID. - Load
Balancer stringId - CLB instance ID, e.g.,
lb-xxxxxxxx. - Meta
Db EmrInfo Cluster V2Meta Db Info Args - Metadata database information. When
meta_typeisEMR_NEW_META/EMR_DEFAULT_META, no extra fields are required; whenEMR_EXIT_META,unify_meta_instance_idmust be set; whenUSER_CUSTOM_META,meta_data_jdbc_url/meta_data_user/meta_data_passmust be set. - Need
Cdb float64Audit - Whether to enable database auditing.
- Need
Master stringWan - Whether to enable master public network. Valid values:
NEED_MASTER_WAN(default),NOT_NEED_MASTER_WAN. - Partition
Number float64 - Partition placement group partition number.
- Script
Bootstrap []EmrAction Configs Cluster V2Script Bootstrap Action Config Args - Bootstrap script configurations.
- Security
Group []stringIds - Security group IDs bound to the instance, e.g.,
["sg-xxxxxxxx"]. - Sg
Ip string - Security source IP, e.g.,
10.0.0.0/8. -
[]Emr
Cluster V2Tag Args - Tags to bind to the cluster instance.
- Timeouts
Emr
Cluster V2Timeouts Args - Web
Ui float64Version - Service UI address version.
0: single URL (default);1: all URLs. - Zone
Resource []EmrConfigurations Cluster V2Zone Resource Configuration Args - Per-zone resource configuration. Supports 1 (single-AZ) or up to 3 entries (multi-AZ: primary, backup, arbitration). ZoneTag is derived automatically from the list index.
- enable_
support_ boolha_ flag - Whether to enable node high availability.
truemeans enabled,falsemeans disabled. - instance_
charge_ stringtype - Instance billing mode. Valid values:
PREPAID(monthly/yearly subscription),POSTPAID_BY_HOUR(pay-as-you-go). - instance_
name string - Instance name. Length 6-36 characters. Only Chinese, letters, numbers,
-,_are allowed. - login_
settings object - Login settings for purchased nodes.
- product_
version string - EMR product version name, e.g.,
EMR-V3.5.0. - scene_
software_ objectconfig - Cluster scenario configuration. Components to deploy are now declared per node role via the
soft_warefield inside each*_resource_specblock; the cluster-levelsoftwarelist below is computed (read-back from API) for observability. - cos_
bucket string - COS bucket path, used when creating StarRocks storage-compute separation clusters.
- custom_
conf string - Custom software configuration in JSON format.
- default_
meta_ stringversion - Default metadata DB version. Valid values:
mysql8,tdsql8,mysql5. - depend_
services list(object) - Shared component dependency information.
- disaster_
recover_ list(string)group_ ids - Spread placement group IDs. Currently supports only one ID.
- emr_
cluster_ stringv2_ id - ID of the resource.
- enable_
cbs_ boolencrypt_ flag - Whether to enable cluster-level CBS encryption. Default is false.
- enable_
cbs_ boolsys_ encrypt_ flag - Whether to enable CBS system encryption.
- enable_
kerberos_ boolflag - Whether to enable Kerberos authentication. Default is false.
- enable_
remote_ boollogin_ flag - Whether to enable external remote login. Invalid when
security_group_idsis set. Default is false. - instance_
charge_ objectprepaid - Prepaid (monthly/yearly) billing parameters. Required when
instance_charge_typeisPREPAID. - load_
balancer_ stringid - CLB instance ID, e.g.,
lb-xxxxxxxx. - meta_
db_ objectinfo - Metadata database information. When
meta_typeisEMR_NEW_META/EMR_DEFAULT_META, no extra fields are required; whenEMR_EXIT_META,unify_meta_instance_idmust be set; whenUSER_CUSTOM_META,meta_data_jdbc_url/meta_data_user/meta_data_passmust be set. - need_
cdb_ numberaudit - Whether to enable database auditing.
- need_
master_ stringwan - Whether to enable master public network. Valid values:
NEED_MASTER_WAN(default),NOT_NEED_MASTER_WAN. - partition_
number number - Partition placement group partition number.
- script_
bootstrap_ list(object)action_ configs - Bootstrap script configurations.
- security_
group_ list(string)ids - Security group IDs bound to the instance, e.g.,
["sg-xxxxxxxx"]. - sg_
ip string - Security source IP, e.g.,
10.0.0.0/8. - list(object)
- Tags to bind to the cluster instance.
- timeouts object
- web_
ui_ numberversion - Service UI address version.
0: single URL (default);1: all URLs. - zone_
resource_ list(object)configurations - Per-zone resource configuration. Supports 1 (single-AZ) or up to 3 entries (multi-AZ: primary, backup, arbitration). ZoneTag is derived automatically from the list index.
- enable
Support BooleanHa Flag - Whether to enable node high availability.
truemeans enabled,falsemeans disabled. - instance
Charge StringType - Instance billing mode. Valid values:
PREPAID(monthly/yearly subscription),POSTPAID_BY_HOUR(pay-as-you-go). - instance
Name String - Instance name. Length 6-36 characters. Only Chinese, letters, numbers,
-,_are allowed. - login
Settings EmrCluster V2Login Settings - Login settings for purchased nodes.
- product
Version String - EMR product version name, e.g.,
EMR-V3.5.0. - scene
Software EmrConfig Cluster V2Scene Software Config - Cluster scenario configuration. Components to deploy are now declared per node role via the
soft_warefield inside each*_resource_specblock; the cluster-levelsoftwarelist below is computed (read-back from API) for observability. - cos
Bucket String - COS bucket path, used when creating StarRocks storage-compute separation clusters.
- custom
Conf String - Custom software configuration in JSON format.
- default
Meta StringVersion - Default metadata DB version. Valid values:
mysql8,tdsql8,mysql5. - depend
Services List<EmrCluster V2Depend Service> - Shared component dependency information.
- disaster
Recover List<String>Group Ids - Spread placement group IDs. Currently supports only one ID.
- emr
Cluster StringV2Id - ID of the resource.
- enable
Cbs BooleanEncrypt Flag - Whether to enable cluster-level CBS encryption. Default is false.
- enable
Cbs BooleanSys Encrypt Flag - Whether to enable CBS system encryption.
- enable
Kerberos BooleanFlag - Whether to enable Kerberos authentication. Default is false.
- enable
Remote BooleanLogin Flag - Whether to enable external remote login. Invalid when
security_group_idsis set. Default is false. - instance
Charge EmrPrepaid Cluster V2Instance Charge Prepaid - Prepaid (monthly/yearly) billing parameters. Required when
instance_charge_typeisPREPAID. - load
Balancer StringId - CLB instance ID, e.g.,
lb-xxxxxxxx. - meta
Db EmrInfo Cluster V2Meta Db Info - Metadata database information. When
meta_typeisEMR_NEW_META/EMR_DEFAULT_META, no extra fields are required; whenEMR_EXIT_META,unify_meta_instance_idmust be set; whenUSER_CUSTOM_META,meta_data_jdbc_url/meta_data_user/meta_data_passmust be set. - need
Cdb DoubleAudit - Whether to enable database auditing.
- need
Master StringWan - Whether to enable master public network. Valid values:
NEED_MASTER_WAN(default),NOT_NEED_MASTER_WAN. - partition
Number Double - Partition placement group partition number.
- script
Bootstrap List<EmrAction Configs Cluster V2Script Bootstrap Action Config> - Bootstrap script configurations.
- security
Group List<String>Ids - Security group IDs bound to the instance, e.g.,
["sg-xxxxxxxx"]. - sg
Ip String - Security source IP, e.g.,
10.0.0.0/8. -
List<Emr
Cluster V2Tag> - Tags to bind to the cluster instance.
- timeouts
Emr
Cluster V2Timeouts - web
Ui DoubleVersion - Service UI address version.
0: single URL (default);1: all URLs. - zone
Resource List<EmrConfigurations Cluster V2Zone Resource Configuration> - Per-zone resource configuration. Supports 1 (single-AZ) or up to 3 entries (multi-AZ: primary, backup, arbitration). ZoneTag is derived automatically from the list index.
- enable
Support booleanHa Flag - Whether to enable node high availability.
truemeans enabled,falsemeans disabled. - instance
Charge stringType - Instance billing mode. Valid values:
PREPAID(monthly/yearly subscription),POSTPAID_BY_HOUR(pay-as-you-go). - instance
Name string - Instance name. Length 6-36 characters. Only Chinese, letters, numbers,
-,_are allowed. - login
Settings EmrCluster V2Login Settings - Login settings for purchased nodes.
- product
Version string - EMR product version name, e.g.,
EMR-V3.5.0. - scene
Software EmrConfig Cluster V2Scene Software Config - Cluster scenario configuration. Components to deploy are now declared per node role via the
soft_warefield inside each*_resource_specblock; the cluster-levelsoftwarelist below is computed (read-back from API) for observability. - cos
Bucket string - COS bucket path, used when creating StarRocks storage-compute separation clusters.
- custom
Conf string - Custom software configuration in JSON format.
- default
Meta stringVersion - Default metadata DB version. Valid values:
mysql8,tdsql8,mysql5. - depend
Services EmrCluster V2Depend Service[] - Shared component dependency information.
- disaster
Recover string[]Group Ids - Spread placement group IDs. Currently supports only one ID.
- emr
Cluster stringV2Id - ID of the resource.
- enable
Cbs booleanEncrypt Flag - Whether to enable cluster-level CBS encryption. Default is false.
- enable
Cbs booleanSys Encrypt Flag - Whether to enable CBS system encryption.
- enable
Kerberos booleanFlag - Whether to enable Kerberos authentication. Default is false.
- enable
Remote booleanLogin Flag - Whether to enable external remote login. Invalid when
security_group_idsis set. Default is false. - instance
Charge EmrPrepaid Cluster V2Instance Charge Prepaid - Prepaid (monthly/yearly) billing parameters. Required when
instance_charge_typeisPREPAID. - load
Balancer stringId - CLB instance ID, e.g.,
lb-xxxxxxxx. - meta
Db EmrInfo Cluster V2Meta Db Info - Metadata database information. When
meta_typeisEMR_NEW_META/EMR_DEFAULT_META, no extra fields are required; whenEMR_EXIT_META,unify_meta_instance_idmust be set; whenUSER_CUSTOM_META,meta_data_jdbc_url/meta_data_user/meta_data_passmust be set. - need
Cdb numberAudit - Whether to enable database auditing.
- need
Master stringWan - Whether to enable master public network. Valid values:
NEED_MASTER_WAN(default),NOT_NEED_MASTER_WAN. - partition
Number number - Partition placement group partition number.
- script
Bootstrap EmrAction Configs Cluster V2Script Bootstrap Action Config[] - Bootstrap script configurations.
- security
Group string[]Ids - Security group IDs bound to the instance, e.g.,
["sg-xxxxxxxx"]. - sg
Ip string - Security source IP, e.g.,
10.0.0.0/8. -
Emr
Cluster V2Tag[] - Tags to bind to the cluster instance.
- timeouts
Emr
Cluster V2Timeouts - web
Ui numberVersion - Service UI address version.
0: single URL (default);1: all URLs. - zone
Resource EmrConfigurations Cluster V2Zone Resource Configuration[] - Per-zone resource configuration. Supports 1 (single-AZ) or up to 3 entries (multi-AZ: primary, backup, arbitration). ZoneTag is derived automatically from the list index.
- enable_
support_ boolha_ flag - Whether to enable node high availability.
truemeans enabled,falsemeans disabled. - instance_
charge_ strtype - Instance billing mode. Valid values:
PREPAID(monthly/yearly subscription),POSTPAID_BY_HOUR(pay-as-you-go). - instance_
name str - Instance name. Length 6-36 characters. Only Chinese, letters, numbers,
-,_are allowed. - login_
settings EmrCluster V2Login Settings Args - Login settings for purchased nodes.
- product_
version str - EMR product version name, e.g.,
EMR-V3.5.0. - scene_
software_ Emrconfig Cluster V2Scene Software Config Args - Cluster scenario configuration. Components to deploy are now declared per node role via the
soft_warefield inside each*_resource_specblock; the cluster-levelsoftwarelist below is computed (read-back from API) for observability. - cos_
bucket str - COS bucket path, used when creating StarRocks storage-compute separation clusters.
- custom_
conf str - Custom software configuration in JSON format.
- default_
meta_ strversion - Default metadata DB version. Valid values:
mysql8,tdsql8,mysql5. - depend_
services Sequence[EmrCluster V2Depend Service Args] - Shared component dependency information.
- disaster_
recover_ Sequence[str]group_ ids - Spread placement group IDs. Currently supports only one ID.
- emr_
cluster_ strv2_ id - ID of the resource.
- enable_
cbs_ boolencrypt_ flag - Whether to enable cluster-level CBS encryption. Default is false.
- enable_
cbs_ boolsys_ encrypt_ flag - Whether to enable CBS system encryption.
- enable_
kerberos_ boolflag - Whether to enable Kerberos authentication. Default is false.
- enable_
remote_ boollogin_ flag - Whether to enable external remote login. Invalid when
security_group_idsis set. Default is false. - instance_
charge_ Emrprepaid Cluster V2Instance Charge Prepaid Args - Prepaid (monthly/yearly) billing parameters. Required when
instance_charge_typeisPREPAID. - load_
balancer_ strid - CLB instance ID, e.g.,
lb-xxxxxxxx. - meta_
db_ Emrinfo Cluster V2Meta Db Info Args - Metadata database information. When
meta_typeisEMR_NEW_META/EMR_DEFAULT_META, no extra fields are required; whenEMR_EXIT_META,unify_meta_instance_idmust be set; whenUSER_CUSTOM_META,meta_data_jdbc_url/meta_data_user/meta_data_passmust be set. - need_
cdb_ floataudit - Whether to enable database auditing.
- need_
master_ strwan - Whether to enable master public network. Valid values:
NEED_MASTER_WAN(default),NOT_NEED_MASTER_WAN. - partition_
number float - Partition placement group partition number.
- script_
bootstrap_ Sequence[Emraction_ configs Cluster V2Script Bootstrap Action Config Args] - Bootstrap script configurations.
- security_
group_ Sequence[str]ids - Security group IDs bound to the instance, e.g.,
["sg-xxxxxxxx"]. - sg_
ip str - Security source IP, e.g.,
10.0.0.0/8. -
Sequence[Emr
Cluster V2Tag Args] - Tags to bind to the cluster instance.
- timeouts
Emr
Cluster V2Timeouts Args - web_
ui_ floatversion - Service UI address version.
0: single URL (default);1: all URLs. - zone_
resource_ Sequence[Emrconfigurations Cluster V2Zone Resource Configuration Args] - Per-zone resource configuration. Supports 1 (single-AZ) or up to 3 entries (multi-AZ: primary, backup, arbitration). ZoneTag is derived automatically from the list index.
- enable
Support BooleanHa Flag - Whether to enable node high availability.
truemeans enabled,falsemeans disabled. - instance
Charge StringType - Instance billing mode. Valid values:
PREPAID(monthly/yearly subscription),POSTPAID_BY_HOUR(pay-as-you-go). - instance
Name String - Instance name. Length 6-36 characters. Only Chinese, letters, numbers,
-,_are allowed. - login
Settings Property Map - Login settings for purchased nodes.
- product
Version String - EMR product version name, e.g.,
EMR-V3.5.0. - scene
Software Property MapConfig - Cluster scenario configuration. Components to deploy are now declared per node role via the
soft_warefield inside each*_resource_specblock; the cluster-levelsoftwarelist below is computed (read-back from API) for observability. - cos
Bucket String - COS bucket path, used when creating StarRocks storage-compute separation clusters.
- custom
Conf String - Custom software configuration in JSON format.
- default
Meta StringVersion - Default metadata DB version. Valid values:
mysql8,tdsql8,mysql5. - depend
Services List<Property Map> - Shared component dependency information.
- disaster
Recover List<String>Group Ids - Spread placement group IDs. Currently supports only one ID.
- emr
Cluster StringV2Id - ID of the resource.
- enable
Cbs BooleanEncrypt Flag - Whether to enable cluster-level CBS encryption. Default is false.
- enable
Cbs BooleanSys Encrypt Flag - Whether to enable CBS system encryption.
- enable
Kerberos BooleanFlag - Whether to enable Kerberos authentication. Default is false.
- enable
Remote BooleanLogin Flag - Whether to enable external remote login. Invalid when
security_group_idsis set. Default is false. - instance
Charge Property MapPrepaid - Prepaid (monthly/yearly) billing parameters. Required when
instance_charge_typeisPREPAID. - load
Balancer StringId - CLB instance ID, e.g.,
lb-xxxxxxxx. - meta
Db Property MapInfo - Metadata database information. When
meta_typeisEMR_NEW_META/EMR_DEFAULT_META, no extra fields are required; whenEMR_EXIT_META,unify_meta_instance_idmust be set; whenUSER_CUSTOM_META,meta_data_jdbc_url/meta_data_user/meta_data_passmust be set. - need
Cdb NumberAudit - Whether to enable database auditing.
- need
Master StringWan - Whether to enable master public network. Valid values:
NEED_MASTER_WAN(default),NOT_NEED_MASTER_WAN. - partition
Number Number - Partition placement group partition number.
- script
Bootstrap List<Property Map>Action Configs - Bootstrap script configurations.
- security
Group List<String>Ids - Security group IDs bound to the instance, e.g.,
["sg-xxxxxxxx"]. - sg
Ip String - Security source IP, e.g.,
10.0.0.0/8. - List<Property Map>
- Tags to bind to the cluster instance.
- timeouts Property Map
- web
Ui NumberVersion - Service UI address version.
0: single URL (default);1: all URLs. - zone
Resource List<Property Map>Configurations - Per-zone resource configuration. Supports 1 (single-AZ) or up to 3 entries (multi-AZ: primary, backup, arbitration). ZoneTag is derived automatically from the list index.
Outputs
All input properties are implicitly available as output properties. Additionally, the EmrClusterV2 resource produces the following output properties:
- cluster_
id string - Cluster ID (same as the resource ID).
- id string
- The provider-assigned unique ID for this managed resource.
- status number
- Cluster status code.
2indicates the cluster is running.
- cluster_
id str - Cluster ID (same as the resource ID).
- id str
- The provider-assigned unique ID for this managed resource.
- status float
- Cluster status code.
2indicates the cluster is running.
Look up Existing EmrClusterV2 Resource
Get an existing EmrClusterV2 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: EmrClusterV2State, opts?: CustomResourceOptions): EmrClusterV2@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cluster_id: Optional[str] = None,
cos_bucket: Optional[str] = None,
custom_conf: Optional[str] = None,
default_meta_version: Optional[str] = None,
depend_services: Optional[Sequence[EmrClusterV2DependServiceArgs]] = None,
disaster_recover_group_ids: Optional[Sequence[str]] = None,
emr_cluster_v2_id: Optional[str] = None,
enable_cbs_encrypt_flag: Optional[bool] = None,
enable_cbs_sys_encrypt_flag: Optional[bool] = None,
enable_kerberos_flag: Optional[bool] = None,
enable_remote_login_flag: Optional[bool] = None,
enable_support_ha_flag: Optional[bool] = None,
instance_charge_prepaid: Optional[EmrClusterV2InstanceChargePrepaidArgs] = None,
instance_charge_type: Optional[str] = None,
instance_name: Optional[str] = None,
load_balancer_id: Optional[str] = None,
login_settings: Optional[EmrClusterV2LoginSettingsArgs] = None,
meta_db_info: Optional[EmrClusterV2MetaDbInfoArgs] = None,
need_cdb_audit: Optional[float] = None,
need_master_wan: Optional[str] = None,
partition_number: Optional[float] = None,
product_version: Optional[str] = None,
scene_software_config: Optional[EmrClusterV2SceneSoftwareConfigArgs] = None,
script_bootstrap_action_configs: Optional[Sequence[EmrClusterV2ScriptBootstrapActionConfigArgs]] = None,
security_group_ids: Optional[Sequence[str]] = None,
sg_ip: Optional[str] = None,
status: Optional[float] = None,
tags: Optional[Sequence[EmrClusterV2TagArgs]] = None,
timeouts: Optional[EmrClusterV2TimeoutsArgs] = None,
web_ui_version: Optional[float] = None,
zone_resource_configurations: Optional[Sequence[EmrClusterV2ZoneResourceConfigurationArgs]] = None) -> EmrClusterV2func GetEmrClusterV2(ctx *Context, name string, id IDInput, state *EmrClusterV2State, opts ...ResourceOption) (*EmrClusterV2, error)public static EmrClusterV2 Get(string name, Input<string> id, EmrClusterV2State? state, CustomResourceOptions? opts = null)public static EmrClusterV2 get(String name, Output<String> id, EmrClusterV2State state, CustomResourceOptions options)resources: _: type: tencentcloud:EmrClusterV2 get: id: ${id}import {
to = tencentcloud_emrclusterv2.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Cluster
Id string - Cluster ID (same as the resource ID).
- Cos
Bucket string - COS bucket path, used when creating StarRocks storage-compute separation clusters.
- Custom
Conf string - Custom software configuration in JSON format.
- Default
Meta stringVersion - Default metadata DB version. Valid values:
mysql8,tdsql8,mysql5. - Depend
Services List<EmrCluster V2Depend Service> - Shared component dependency information.
- Disaster
Recover List<string>Group Ids - Spread placement group IDs. Currently supports only one ID.
- Emr
Cluster stringV2Id - ID of the resource.
- Enable
Cbs boolEncrypt Flag - Whether to enable cluster-level CBS encryption. Default is false.
- Enable
Cbs boolSys Encrypt Flag - Whether to enable CBS system encryption.
- Enable
Kerberos boolFlag - Whether to enable Kerberos authentication. Default is false.
- Enable
Remote boolLogin Flag - Whether to enable external remote login. Invalid when
security_group_idsis set. Default is false. - Enable
Support boolHa Flag - Whether to enable node high availability.
truemeans enabled,falsemeans disabled. - Instance
Charge EmrPrepaid Cluster V2Instance Charge Prepaid - Prepaid (monthly/yearly) billing parameters. Required when
instance_charge_typeisPREPAID. - Instance
Charge stringType - Instance billing mode. Valid values:
PREPAID(monthly/yearly subscription),POSTPAID_BY_HOUR(pay-as-you-go). - Instance
Name string - Instance name. Length 6-36 characters. Only Chinese, letters, numbers,
-,_are allowed. - Load
Balancer stringId - CLB instance ID, e.g.,
lb-xxxxxxxx. - Login
Settings EmrCluster V2Login Settings - Login settings for purchased nodes.
- Meta
Db EmrInfo Cluster V2Meta Db Info - Metadata database information. When
meta_typeisEMR_NEW_META/EMR_DEFAULT_META, no extra fields are required; whenEMR_EXIT_META,unify_meta_instance_idmust be set; whenUSER_CUSTOM_META,meta_data_jdbc_url/meta_data_user/meta_data_passmust be set. - Need
Cdb doubleAudit - Whether to enable database auditing.
- Need
Master stringWan - Whether to enable master public network. Valid values:
NEED_MASTER_WAN(default),NOT_NEED_MASTER_WAN. - Partition
Number double - Partition placement group partition number.
- Product
Version string - EMR product version name, e.g.,
EMR-V3.5.0. - Scene
Software EmrConfig Cluster V2Scene Software Config - Cluster scenario configuration. Components to deploy are now declared per node role via the
soft_warefield inside each*_resource_specblock; the cluster-levelsoftwarelist below is computed (read-back from API) for observability. - Script
Bootstrap List<EmrAction Configs Cluster V2Script Bootstrap Action Config> - Bootstrap script configurations.
- Security
Group List<string>Ids - Security group IDs bound to the instance, e.g.,
["sg-xxxxxxxx"]. - Sg
Ip string - Security source IP, e.g.,
10.0.0.0/8. - Status double
- Cluster status code.
2indicates the cluster is running. -
List<Emr
Cluster V2Tag> - Tags to bind to the cluster instance.
- Timeouts
Emr
Cluster V2Timeouts - Web
Ui doubleVersion - Service UI address version.
0: single URL (default);1: all URLs. - Zone
Resource List<EmrConfigurations Cluster V2Zone Resource Configuration> - Per-zone resource configuration. Supports 1 (single-AZ) or up to 3 entries (multi-AZ: primary, backup, arbitration). ZoneTag is derived automatically from the list index.
- Cluster
Id string - Cluster ID (same as the resource ID).
- Cos
Bucket string - COS bucket path, used when creating StarRocks storage-compute separation clusters.
- Custom
Conf string - Custom software configuration in JSON format.
- Default
Meta stringVersion - Default metadata DB version. Valid values:
mysql8,tdsql8,mysql5. - Depend
Services []EmrCluster V2Depend Service Args - Shared component dependency information.
- Disaster
Recover []stringGroup Ids - Spread placement group IDs. Currently supports only one ID.
- Emr
Cluster stringV2Id - ID of the resource.
- Enable
Cbs boolEncrypt Flag - Whether to enable cluster-level CBS encryption. Default is false.
- Enable
Cbs boolSys Encrypt Flag - Whether to enable CBS system encryption.
- Enable
Kerberos boolFlag - Whether to enable Kerberos authentication. Default is false.
- Enable
Remote boolLogin Flag - Whether to enable external remote login. Invalid when
security_group_idsis set. Default is false. - Enable
Support boolHa Flag - Whether to enable node high availability.
truemeans enabled,falsemeans disabled. - Instance
Charge EmrPrepaid Cluster V2Instance Charge Prepaid Args - Prepaid (monthly/yearly) billing parameters. Required when
instance_charge_typeisPREPAID. - Instance
Charge stringType - Instance billing mode. Valid values:
PREPAID(monthly/yearly subscription),POSTPAID_BY_HOUR(pay-as-you-go). - Instance
Name string - Instance name. Length 6-36 characters. Only Chinese, letters, numbers,
-,_are allowed. - Load
Balancer stringId - CLB instance ID, e.g.,
lb-xxxxxxxx. - Login
Settings EmrCluster V2Login Settings Args - Login settings for purchased nodes.
- Meta
Db EmrInfo Cluster V2Meta Db Info Args - Metadata database information. When
meta_typeisEMR_NEW_META/EMR_DEFAULT_META, no extra fields are required; whenEMR_EXIT_META,unify_meta_instance_idmust be set; whenUSER_CUSTOM_META,meta_data_jdbc_url/meta_data_user/meta_data_passmust be set. - Need
Cdb float64Audit - Whether to enable database auditing.
- Need
Master stringWan - Whether to enable master public network. Valid values:
NEED_MASTER_WAN(default),NOT_NEED_MASTER_WAN. - Partition
Number float64 - Partition placement group partition number.
- Product
Version string - EMR product version name, e.g.,
EMR-V3.5.0. - Scene
Software EmrConfig Cluster V2Scene Software Config Args - Cluster scenario configuration. Components to deploy are now declared per node role via the
soft_warefield inside each*_resource_specblock; the cluster-levelsoftwarelist below is computed (read-back from API) for observability. - Script
Bootstrap []EmrAction Configs Cluster V2Script Bootstrap Action Config Args - Bootstrap script configurations.
- Security
Group []stringIds - Security group IDs bound to the instance, e.g.,
["sg-xxxxxxxx"]. - Sg
Ip string - Security source IP, e.g.,
10.0.0.0/8. - Status float64
- Cluster status code.
2indicates the cluster is running. -
[]Emr
Cluster V2Tag Args - Tags to bind to the cluster instance.
- Timeouts
Emr
Cluster V2Timeouts Args - Web
Ui float64Version - Service UI address version.
0: single URL (default);1: all URLs. - Zone
Resource []EmrConfigurations Cluster V2Zone Resource Configuration Args - Per-zone resource configuration. Supports 1 (single-AZ) or up to 3 entries (multi-AZ: primary, backup, arbitration). ZoneTag is derived automatically from the list index.
- cluster_
id string - Cluster ID (same as the resource ID).
- cos_
bucket string - COS bucket path, used when creating StarRocks storage-compute separation clusters.
- custom_
conf string - Custom software configuration in JSON format.
- default_
meta_ stringversion - Default metadata DB version. Valid values:
mysql8,tdsql8,mysql5. - depend_
services list(object) - Shared component dependency information.
- disaster_
recover_ list(string)group_ ids - Spread placement group IDs. Currently supports only one ID.
- emr_
cluster_ stringv2_ id - ID of the resource.
- enable_
cbs_ boolencrypt_ flag - Whether to enable cluster-level CBS encryption. Default is false.
- enable_
cbs_ boolsys_ encrypt_ flag - Whether to enable CBS system encryption.
- enable_
kerberos_ boolflag - Whether to enable Kerberos authentication. Default is false.
- enable_
remote_ boollogin_ flag - Whether to enable external remote login. Invalid when
security_group_idsis set. Default is false. - enable_
support_ boolha_ flag - Whether to enable node high availability.
truemeans enabled,falsemeans disabled. - instance_
charge_ objectprepaid - Prepaid (monthly/yearly) billing parameters. Required when
instance_charge_typeisPREPAID. - instance_
charge_ stringtype - Instance billing mode. Valid values:
PREPAID(monthly/yearly subscription),POSTPAID_BY_HOUR(pay-as-you-go). - instance_
name string - Instance name. Length 6-36 characters. Only Chinese, letters, numbers,
-,_are allowed. - load_
balancer_ stringid - CLB instance ID, e.g.,
lb-xxxxxxxx. - login_
settings object - Login settings for purchased nodes.
- meta_
db_ objectinfo - Metadata database information. When
meta_typeisEMR_NEW_META/EMR_DEFAULT_META, no extra fields are required; whenEMR_EXIT_META,unify_meta_instance_idmust be set; whenUSER_CUSTOM_META,meta_data_jdbc_url/meta_data_user/meta_data_passmust be set. - need_
cdb_ numberaudit - Whether to enable database auditing.
- need_
master_ stringwan - Whether to enable master public network. Valid values:
NEED_MASTER_WAN(default),NOT_NEED_MASTER_WAN. - partition_
number number - Partition placement group partition number.
- product_
version string - EMR product version name, e.g.,
EMR-V3.5.0. - scene_
software_ objectconfig - Cluster scenario configuration. Components to deploy are now declared per node role via the
soft_warefield inside each*_resource_specblock; the cluster-levelsoftwarelist below is computed (read-back from API) for observability. - script_
bootstrap_ list(object)action_ configs - Bootstrap script configurations.
- security_
group_ list(string)ids - Security group IDs bound to the instance, e.g.,
["sg-xxxxxxxx"]. - sg_
ip string - Security source IP, e.g.,
10.0.0.0/8. - status number
- Cluster status code.
2indicates the cluster is running. - list(object)
- Tags to bind to the cluster instance.
- timeouts object
- web_
ui_ numberversion - Service UI address version.
0: single URL (default);1: all URLs. - zone_
resource_ list(object)configurations - Per-zone resource configuration. Supports 1 (single-AZ) or up to 3 entries (multi-AZ: primary, backup, arbitration). ZoneTag is derived automatically from the list index.
- cluster
Id String - Cluster ID (same as the resource ID).
- cos
Bucket String - COS bucket path, used when creating StarRocks storage-compute separation clusters.
- custom
Conf String - Custom software configuration in JSON format.
- default
Meta StringVersion - Default metadata DB version. Valid values:
mysql8,tdsql8,mysql5. - depend
Services List<EmrCluster V2Depend Service> - Shared component dependency information.
- disaster
Recover List<String>Group Ids - Spread placement group IDs. Currently supports only one ID.
- emr
Cluster StringV2Id - ID of the resource.
- enable
Cbs BooleanEncrypt Flag - Whether to enable cluster-level CBS encryption. Default is false.
- enable
Cbs BooleanSys Encrypt Flag - Whether to enable CBS system encryption.
- enable
Kerberos BooleanFlag - Whether to enable Kerberos authentication. Default is false.
- enable
Remote BooleanLogin Flag - Whether to enable external remote login. Invalid when
security_group_idsis set. Default is false. - enable
Support BooleanHa Flag - Whether to enable node high availability.
truemeans enabled,falsemeans disabled. - instance
Charge EmrPrepaid Cluster V2Instance Charge Prepaid - Prepaid (monthly/yearly) billing parameters. Required when
instance_charge_typeisPREPAID. - instance
Charge StringType - Instance billing mode. Valid values:
PREPAID(monthly/yearly subscription),POSTPAID_BY_HOUR(pay-as-you-go). - instance
Name String - Instance name. Length 6-36 characters. Only Chinese, letters, numbers,
-,_are allowed. - load
Balancer StringId - CLB instance ID, e.g.,
lb-xxxxxxxx. - login
Settings EmrCluster V2Login Settings - Login settings for purchased nodes.
- meta
Db EmrInfo Cluster V2Meta Db Info - Metadata database information. When
meta_typeisEMR_NEW_META/EMR_DEFAULT_META, no extra fields are required; whenEMR_EXIT_META,unify_meta_instance_idmust be set; whenUSER_CUSTOM_META,meta_data_jdbc_url/meta_data_user/meta_data_passmust be set. - need
Cdb DoubleAudit - Whether to enable database auditing.
- need
Master StringWan - Whether to enable master public network. Valid values:
NEED_MASTER_WAN(default),NOT_NEED_MASTER_WAN. - partition
Number Double - Partition placement group partition number.
- product
Version String - EMR product version name, e.g.,
EMR-V3.5.0. - scene
Software EmrConfig Cluster V2Scene Software Config - Cluster scenario configuration. Components to deploy are now declared per node role via the
soft_warefield inside each*_resource_specblock; the cluster-levelsoftwarelist below is computed (read-back from API) for observability. - script
Bootstrap List<EmrAction Configs Cluster V2Script Bootstrap Action Config> - Bootstrap script configurations.
- security
Group List<String>Ids - Security group IDs bound to the instance, e.g.,
["sg-xxxxxxxx"]. - sg
Ip String - Security source IP, e.g.,
10.0.0.0/8. - status Double
- Cluster status code.
2indicates the cluster is running. -
List<Emr
Cluster V2Tag> - Tags to bind to the cluster instance.
- timeouts
Emr
Cluster V2Timeouts - web
Ui DoubleVersion - Service UI address version.
0: single URL (default);1: all URLs. - zone
Resource List<EmrConfigurations Cluster V2Zone Resource Configuration> - Per-zone resource configuration. Supports 1 (single-AZ) or up to 3 entries (multi-AZ: primary, backup, arbitration). ZoneTag is derived automatically from the list index.
- cluster
Id string - Cluster ID (same as the resource ID).
- cos
Bucket string - COS bucket path, used when creating StarRocks storage-compute separation clusters.
- custom
Conf string - Custom software configuration in JSON format.
- default
Meta stringVersion - Default metadata DB version. Valid values:
mysql8,tdsql8,mysql5. - depend
Services EmrCluster V2Depend Service[] - Shared component dependency information.
- disaster
Recover string[]Group Ids - Spread placement group IDs. Currently supports only one ID.
- emr
Cluster stringV2Id - ID of the resource.
- enable
Cbs booleanEncrypt Flag - Whether to enable cluster-level CBS encryption. Default is false.
- enable
Cbs booleanSys Encrypt Flag - Whether to enable CBS system encryption.
- enable
Kerberos booleanFlag - Whether to enable Kerberos authentication. Default is false.
- enable
Remote booleanLogin Flag - Whether to enable external remote login. Invalid when
security_group_idsis set. Default is false. - enable
Support booleanHa Flag - Whether to enable node high availability.
truemeans enabled,falsemeans disabled. - instance
Charge EmrPrepaid Cluster V2Instance Charge Prepaid - Prepaid (monthly/yearly) billing parameters. Required when
instance_charge_typeisPREPAID. - instance
Charge stringType - Instance billing mode. Valid values:
PREPAID(monthly/yearly subscription),POSTPAID_BY_HOUR(pay-as-you-go). - instance
Name string - Instance name. Length 6-36 characters. Only Chinese, letters, numbers,
-,_are allowed. - load
Balancer stringId - CLB instance ID, e.g.,
lb-xxxxxxxx. - login
Settings EmrCluster V2Login Settings - Login settings for purchased nodes.
- meta
Db EmrInfo Cluster V2Meta Db Info - Metadata database information. When
meta_typeisEMR_NEW_META/EMR_DEFAULT_META, no extra fields are required; whenEMR_EXIT_META,unify_meta_instance_idmust be set; whenUSER_CUSTOM_META,meta_data_jdbc_url/meta_data_user/meta_data_passmust be set. - need
Cdb numberAudit - Whether to enable database auditing.
- need
Master stringWan - Whether to enable master public network. Valid values:
NEED_MASTER_WAN(default),NOT_NEED_MASTER_WAN. - partition
Number number - Partition placement group partition number.
- product
Version string - EMR product version name, e.g.,
EMR-V3.5.0. - scene
Software EmrConfig Cluster V2Scene Software Config - Cluster scenario configuration. Components to deploy are now declared per node role via the
soft_warefield inside each*_resource_specblock; the cluster-levelsoftwarelist below is computed (read-back from API) for observability. - script
Bootstrap EmrAction Configs Cluster V2Script Bootstrap Action Config[] - Bootstrap script configurations.
- security
Group string[]Ids - Security group IDs bound to the instance, e.g.,
["sg-xxxxxxxx"]. - sg
Ip string - Security source IP, e.g.,
10.0.0.0/8. - status number
- Cluster status code.
2indicates the cluster is running. -
Emr
Cluster V2Tag[] - Tags to bind to the cluster instance.
- timeouts
Emr
Cluster V2Timeouts - web
Ui numberVersion - Service UI address version.
0: single URL (default);1: all URLs. - zone
Resource EmrConfigurations Cluster V2Zone Resource Configuration[] - Per-zone resource configuration. Supports 1 (single-AZ) or up to 3 entries (multi-AZ: primary, backup, arbitration). ZoneTag is derived automatically from the list index.
- cluster_
id str - Cluster ID (same as the resource ID).
- cos_
bucket str - COS bucket path, used when creating StarRocks storage-compute separation clusters.
- custom_
conf str - Custom software configuration in JSON format.
- default_
meta_ strversion - Default metadata DB version. Valid values:
mysql8,tdsql8,mysql5. - depend_
services Sequence[EmrCluster V2Depend Service Args] - Shared component dependency information.
- disaster_
recover_ Sequence[str]group_ ids - Spread placement group IDs. Currently supports only one ID.
- emr_
cluster_ strv2_ id - ID of the resource.
- enable_
cbs_ boolencrypt_ flag - Whether to enable cluster-level CBS encryption. Default is false.
- enable_
cbs_ boolsys_ encrypt_ flag - Whether to enable CBS system encryption.
- enable_
kerberos_ boolflag - Whether to enable Kerberos authentication. Default is false.
- enable_
remote_ boollogin_ flag - Whether to enable external remote login. Invalid when
security_group_idsis set. Default is false. - enable_
support_ boolha_ flag - Whether to enable node high availability.
truemeans enabled,falsemeans disabled. - instance_
charge_ Emrprepaid Cluster V2Instance Charge Prepaid Args - Prepaid (monthly/yearly) billing parameters. Required when
instance_charge_typeisPREPAID. - instance_
charge_ strtype - Instance billing mode. Valid values:
PREPAID(monthly/yearly subscription),POSTPAID_BY_HOUR(pay-as-you-go). - instance_
name str - Instance name. Length 6-36 characters. Only Chinese, letters, numbers,
-,_are allowed. - load_
balancer_ strid - CLB instance ID, e.g.,
lb-xxxxxxxx. - login_
settings EmrCluster V2Login Settings Args - Login settings for purchased nodes.
- meta_
db_ Emrinfo Cluster V2Meta Db Info Args - Metadata database information. When
meta_typeisEMR_NEW_META/EMR_DEFAULT_META, no extra fields are required; whenEMR_EXIT_META,unify_meta_instance_idmust be set; whenUSER_CUSTOM_META,meta_data_jdbc_url/meta_data_user/meta_data_passmust be set. - need_
cdb_ floataudit - Whether to enable database auditing.
- need_
master_ strwan - Whether to enable master public network. Valid values:
NEED_MASTER_WAN(default),NOT_NEED_MASTER_WAN. - partition_
number float - Partition placement group partition number.
- product_
version str - EMR product version name, e.g.,
EMR-V3.5.0. - scene_
software_ Emrconfig Cluster V2Scene Software Config Args - Cluster scenario configuration. Components to deploy are now declared per node role via the
soft_warefield inside each*_resource_specblock; the cluster-levelsoftwarelist below is computed (read-back from API) for observability. - script_
bootstrap_ Sequence[Emraction_ configs Cluster V2Script Bootstrap Action Config Args] - Bootstrap script configurations.
- security_
group_ Sequence[str]ids - Security group IDs bound to the instance, e.g.,
["sg-xxxxxxxx"]. - sg_
ip str - Security source IP, e.g.,
10.0.0.0/8. - status float
- Cluster status code.
2indicates the cluster is running. -
Sequence[Emr
Cluster V2Tag Args] - Tags to bind to the cluster instance.
- timeouts
Emr
Cluster V2Timeouts Args - web_
ui_ floatversion - Service UI address version.
0: single URL (default);1: all URLs. - zone_
resource_ Sequence[Emrconfigurations Cluster V2Zone Resource Configuration Args] - Per-zone resource configuration. Supports 1 (single-AZ) or up to 3 entries (multi-AZ: primary, backup, arbitration). ZoneTag is derived automatically from the list index.
- cluster
Id String - Cluster ID (same as the resource ID).
- cos
Bucket String - COS bucket path, used when creating StarRocks storage-compute separation clusters.
- custom
Conf String - Custom software configuration in JSON format.
- default
Meta StringVersion - Default metadata DB version. Valid values:
mysql8,tdsql8,mysql5. - depend
Services List<Property Map> - Shared component dependency information.
- disaster
Recover List<String>Group Ids - Spread placement group IDs. Currently supports only one ID.
- emr
Cluster StringV2Id - ID of the resource.
- enable
Cbs BooleanEncrypt Flag - Whether to enable cluster-level CBS encryption. Default is false.
- enable
Cbs BooleanSys Encrypt Flag - Whether to enable CBS system encryption.
- enable
Kerberos BooleanFlag - Whether to enable Kerberos authentication. Default is false.
- enable
Remote BooleanLogin Flag - Whether to enable external remote login. Invalid when
security_group_idsis set. Default is false. - enable
Support BooleanHa Flag - Whether to enable node high availability.
truemeans enabled,falsemeans disabled. - instance
Charge Property MapPrepaid - Prepaid (monthly/yearly) billing parameters. Required when
instance_charge_typeisPREPAID. - instance
Charge StringType - Instance billing mode. Valid values:
PREPAID(monthly/yearly subscription),POSTPAID_BY_HOUR(pay-as-you-go). - instance
Name String - Instance name. Length 6-36 characters. Only Chinese, letters, numbers,
-,_are allowed. - load
Balancer StringId - CLB instance ID, e.g.,
lb-xxxxxxxx. - login
Settings Property Map - Login settings for purchased nodes.
- meta
Db Property MapInfo - Metadata database information. When
meta_typeisEMR_NEW_META/EMR_DEFAULT_META, no extra fields are required; whenEMR_EXIT_META,unify_meta_instance_idmust be set; whenUSER_CUSTOM_META,meta_data_jdbc_url/meta_data_user/meta_data_passmust be set. - need
Cdb NumberAudit - Whether to enable database auditing.
- need
Master StringWan - Whether to enable master public network. Valid values:
NEED_MASTER_WAN(default),NOT_NEED_MASTER_WAN. - partition
Number Number - Partition placement group partition number.
- product
Version String - EMR product version name, e.g.,
EMR-V3.5.0. - scene
Software Property MapConfig - Cluster scenario configuration. Components to deploy are now declared per node role via the
soft_warefield inside each*_resource_specblock; the cluster-levelsoftwarelist below is computed (read-back from API) for observability. - script
Bootstrap List<Property Map>Action Configs - Bootstrap script configurations.
- security
Group List<String>Ids - Security group IDs bound to the instance, e.g.,
["sg-xxxxxxxx"]. - sg
Ip String - Security source IP, e.g.,
10.0.0.0/8. - status Number
- Cluster status code.
2indicates the cluster is running. - List<Property Map>
- Tags to bind to the cluster instance.
- timeouts Property Map
- web
Ui NumberVersion - Service UI address version.
0: single URL (default);1: all URLs. - zone
Resource List<Property Map>Configurations - Per-zone resource configuration. Supports 1 (single-AZ) or up to 3 entries (multi-AZ: primary, backup, arbitration). ZoneTag is derived automatically from the list index.
Supporting Types
EmrClusterV2DependService, EmrClusterV2DependServiceArgs
- Instance
Id string - Shared component cluster instance ID.
- Service
Name string - Shared component name.
- Instance
Id string - Shared component cluster instance ID.
- Service
Name string - Shared component name.
- instance_
id string - Shared component cluster instance ID.
- service_
name string - Shared component name.
- instance
Id String - Shared component cluster instance ID.
- service
Name String - Shared component name.
- instance
Id string - Shared component cluster instance ID.
- service
Name string - Shared component name.
- instance_
id str - Shared component cluster instance ID.
- service_
name str - Shared component name.
- instance
Id String - Shared component cluster instance ID.
- service
Name String - Shared component name.
EmrClusterV2InstanceChargePrepaid, EmrClusterV2InstanceChargePrepaidArgs
- period number
- Purchase duration in months. Valid values: 1-12, 24, 36, 48, 60.
- renew_
flag bool - Auto-renew flag. Default is false.
- period float
- Purchase duration in months. Valid values: 1-12, 24, 36, 48, 60.
- renew_
flag bool - Auto-renew flag. Default is false.
EmrClusterV2LoginSettings, EmrClusterV2LoginSettingsArgs
- Password string
- Login password, 8-16 characters, must contain uppercase, lowercase, digit and special character (supported special chars:
!@%^*). First char cannot be special. - Public
Key stringId - Public key ID for key-based login.
- Password string
- Login password, 8-16 characters, must contain uppercase, lowercase, digit and special character (supported special chars:
!@%^*). First char cannot be special. - Public
Key stringId - Public key ID for key-based login.
- password string
- Login password, 8-16 characters, must contain uppercase, lowercase, digit and special character (supported special chars:
!@%^*). First char cannot be special. - public_
key_ stringid - Public key ID for key-based login.
- password String
- Login password, 8-16 characters, must contain uppercase, lowercase, digit and special character (supported special chars:
!@%^*). First char cannot be special. - public
Key StringId - Public key ID for key-based login.
- password string
- Login password, 8-16 characters, must contain uppercase, lowercase, digit and special character (supported special chars:
!@%^*). First char cannot be special. - public
Key stringId - Public key ID for key-based login.
- password str
- Login password, 8-16 characters, must contain uppercase, lowercase, digit and special character (supported special chars:
!@%^*). First char cannot be special. - public_
key_ strid - Public key ID for key-based login.
- password String
- Login password, 8-16 characters, must contain uppercase, lowercase, digit and special character (supported special chars:
!@%^*). First char cannot be special. - public
Key StringId - Public key ID for key-based login.
EmrClusterV2MetaDbInfo, EmrClusterV2MetaDbInfoArgs
- Meta
Data stringJdbc Url - Custom MetaDB JDBC URL, e.g.,
jdbc:mysql://10.10.10.10:3306/dbname. - Meta
Data stringPass - Custom MetaDB password.
- Meta
Data stringUser - Custom MetaDB username.
- Meta
Type string - Hive shared metadata DB type. Valid values:
EMR_DEFAULT_META,EMR_EXIT_META,USER_CUSTOM_META. - Unify
Meta stringInstance Id - EMR-MetaDB instance ID.
- Meta
Data stringJdbc Url - Custom MetaDB JDBC URL, e.g.,
jdbc:mysql://10.10.10.10:3306/dbname. - Meta
Data stringPass - Custom MetaDB password.
- Meta
Data stringUser - Custom MetaDB username.
- Meta
Type string - Hive shared metadata DB type. Valid values:
EMR_DEFAULT_META,EMR_EXIT_META,USER_CUSTOM_META. - Unify
Meta stringInstance Id - EMR-MetaDB instance ID.
- meta_
data_ stringjdbc_ url - Custom MetaDB JDBC URL, e.g.,
jdbc:mysql://10.10.10.10:3306/dbname. - meta_
data_ stringpass - Custom MetaDB password.
- meta_
data_ stringuser - Custom MetaDB username.
- meta_
type string - Hive shared metadata DB type. Valid values:
EMR_DEFAULT_META,EMR_EXIT_META,USER_CUSTOM_META. - unify_
meta_ stringinstance_ id - EMR-MetaDB instance ID.
- meta
Data StringJdbc Url - Custom MetaDB JDBC URL, e.g.,
jdbc:mysql://10.10.10.10:3306/dbname. - meta
Data StringPass - Custom MetaDB password.
- meta
Data StringUser - Custom MetaDB username.
- meta
Type String - Hive shared metadata DB type. Valid values:
EMR_DEFAULT_META,EMR_EXIT_META,USER_CUSTOM_META. - unify
Meta StringInstance Id - EMR-MetaDB instance ID.
- meta
Data stringJdbc Url - Custom MetaDB JDBC URL, e.g.,
jdbc:mysql://10.10.10.10:3306/dbname. - meta
Data stringPass - Custom MetaDB password.
- meta
Data stringUser - Custom MetaDB username.
- meta
Type string - Hive shared metadata DB type. Valid values:
EMR_DEFAULT_META,EMR_EXIT_META,USER_CUSTOM_META. - unify
Meta stringInstance Id - EMR-MetaDB instance ID.
- meta_
data_ strjdbc_ url - Custom MetaDB JDBC URL, e.g.,
jdbc:mysql://10.10.10.10:3306/dbname. - meta_
data_ strpass - Custom MetaDB password.
- meta_
data_ struser - Custom MetaDB username.
- meta_
type str - Hive shared metadata DB type. Valid values:
EMR_DEFAULT_META,EMR_EXIT_META,USER_CUSTOM_META. - unify_
meta_ strinstance_ id - EMR-MetaDB instance ID.
- meta
Data StringJdbc Url - Custom MetaDB JDBC URL, e.g.,
jdbc:mysql://10.10.10.10:3306/dbname. - meta
Data StringPass - Custom MetaDB password.
- meta
Data StringUser - Custom MetaDB username.
- meta
Type String - Hive shared metadata DB type. Valid values:
EMR_DEFAULT_META,EMR_EXIT_META,USER_CUSTOM_META. - unify
Meta StringInstance Id - EMR-MetaDB instance ID.
EmrClusterV2SceneSoftwareConfig, EmrClusterV2SceneSoftwareConfigArgs
- scene_
name string - Scenario name, e.g.,
Hadoop-Default,Hadoop-Kudu,Hadoop-Zookeeper,Hadoop-Presto,Hadoop-Hbase. - softwares list(string)
- Deduped list of components actually deployed on the cluster (read-back from API).
- scene_
name str - Scenario name, e.g.,
Hadoop-Default,Hadoop-Kudu,Hadoop-Zookeeper,Hadoop-Presto,Hadoop-Hbase. - softwares Sequence[str]
- Deduped list of components actually deployed on the cluster (read-back from API).
EmrClusterV2ScriptBootstrapActionConfig, EmrClusterV2ScriptBootstrapActionConfigArgs
- Args List<string>
- Script arguments, following standard Shell convention.
- Cos
File stringName - Script file name.
- Cos
File stringUri - COS URI of the script.
- Execution
Moment string - Execution timing. Valid values:
resourceAfter,clusterAfter,clusterBefore. - Remark string
- Remark.
- Args []string
- Script arguments, following standard Shell convention.
- Cos
File stringName - Script file name.
- Cos
File stringUri - COS URI of the script.
- Execution
Moment string - Execution timing. Valid values:
resourceAfter,clusterAfter,clusterBefore. - Remark string
- Remark.
- args list(string)
- Script arguments, following standard Shell convention.
- cos_
file_ stringname - Script file name.
- cos_
file_ stringuri - COS URI of the script.
- execution_
moment string - Execution timing. Valid values:
resourceAfter,clusterAfter,clusterBefore. - remark string
- Remark.
- args List<String>
- Script arguments, following standard Shell convention.
- cos
File StringName - Script file name.
- cos
File StringUri - COS URI of the script.
- execution
Moment String - Execution timing. Valid values:
resourceAfter,clusterAfter,clusterBefore. - remark String
- Remark.
- args string[]
- Script arguments, following standard Shell convention.
- cos
File stringName - Script file name.
- cos
File stringUri - COS URI of the script.
- execution
Moment string - Execution timing. Valid values:
resourceAfter,clusterAfter,clusterBefore. - remark string
- Remark.
- args Sequence[str]
- Script arguments, following standard Shell convention.
- cos_
file_ strname - Script file name.
- cos_
file_ struri - COS URI of the script.
- execution_
moment str - Execution timing. Valid values:
resourceAfter,clusterAfter,clusterBefore. - remark str
- Remark.
- args List<String>
- Script arguments, following standard Shell convention.
- cos
File StringName - Script file name.
- cos
File StringUri - COS URI of the script.
- execution
Moment String - Execution timing. Valid values:
resourceAfter,clusterAfter,clusterBefore. - remark String
- Remark.
EmrClusterV2Tag, EmrClusterV2TagArgs
EmrClusterV2Timeouts, EmrClusterV2TimeoutsArgs
EmrClusterV2ZoneResourceConfiguration, EmrClusterV2ZoneResourceConfigurationArgs
- All
Node EmrResource Spec Cluster V2Zone Resource Configuration All Node Resource Spec - Resource specifications for all node roles.
- Placement
Emr
Cluster V2Zone Resource Configuration Placement - Zone and project placement.
- Virtual
Private EmrCloud Cluster V2Zone Resource Configuration Virtual Private Cloud - VPC/Subnet information.
- All
Node EmrResource Spec Cluster V2Zone Resource Configuration All Node Resource Spec - Resource specifications for all node roles.
- Placement
Emr
Cluster V2Zone Resource Configuration Placement - Zone and project placement.
- Virtual
Private EmrCloud Cluster V2Zone Resource Configuration Virtual Private Cloud - VPC/Subnet information.
- all_
node_ objectresource_ spec - Resource specifications for all node roles.
- placement object
- Zone and project placement.
- virtual_
private_ objectcloud - VPC/Subnet information.
- all
Node EmrResource Spec Cluster V2Zone Resource Configuration All Node Resource Spec - Resource specifications for all node roles.
- placement
Emr
Cluster V2Zone Resource Configuration Placement - Zone and project placement.
- virtual
Private EmrCloud Cluster V2Zone Resource Configuration Virtual Private Cloud - VPC/Subnet information.
- all
Node EmrResource Spec Cluster V2Zone Resource Configuration All Node Resource Spec - Resource specifications for all node roles.
- placement
Emr
Cluster V2Zone Resource Configuration Placement - Zone and project placement.
- virtual
Private EmrCloud Cluster V2Zone Resource Configuration Virtual Private Cloud - VPC/Subnet information.
- all_
node_ Emrresource_ spec Cluster V2Zone Resource Configuration All Node Resource Spec - Resource specifications for all node roles.
- placement
Emr
Cluster V2Zone Resource Configuration Placement - Zone and project placement.
- virtual_
private_ Emrcloud Cluster V2Zone Resource Configuration Virtual Private Cloud - VPC/Subnet information.
- all
Node Property MapResource Spec - Resource specifications for all node roles.
- placement Property Map
- Zone and project placement.
- virtual
Private Property MapCloud - VPC/Subnet information.
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpec, EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecArgs
- Common
Resource List<EmrSpecs Cluster V2Zone Resource Configuration All Node Resource Spec Common Resource Spec> - Common node resource specifications. Number of blocks =
CommonCount. All blocks must have identical configuration; the first block is the single resource template sent to the API. This field is aTypeSetkeyed by_node_indexonly block order in HCL is irrelevant. - Core
Resource List<EmrSpecs Cluster V2Zone Resource Configuration All Node Resource Spec Core Resource Spec> - Core node resource specifications. Number of blocks =
CoreCount. All blocks must have identical configuration; the first block is the single resource template sent to the API. This field is aTypeSetkeyed by_node_indexonly block order in HCL is irrelevant. - Master
Resource List<EmrSpecs Cluster V2Zone Resource Configuration All Node Resource Spec Master Resource Spec> - Master node resource specifications. Number of blocks =
MasterCount. All blocks must have identical configuration; the first block is the single resource template sent to the API. This field is aTypeSetkeyed by_node_indexonly block order in HCL is irrelevant. - Task
Resource List<EmrSpecs Cluster V2Zone Resource Configuration All Node Resource Spec Task Resource Spec> - Task node resource specifications. Number of blocks =
TaskCount. All blocks must have identical configuration; the first block is the single resource template sent to the API. This field is aTypeSetkeyed by_node_indexonly block order in HCL is irrelevant.
- Common
Resource []EmrSpecs Cluster V2Zone Resource Configuration All Node Resource Spec Common Resource Spec - Common node resource specifications. Number of blocks =
CommonCount. All blocks must have identical configuration; the first block is the single resource template sent to the API. This field is aTypeSetkeyed by_node_indexonly block order in HCL is irrelevant. - Core
Resource []EmrSpecs Cluster V2Zone Resource Configuration All Node Resource Spec Core Resource Spec - Core node resource specifications. Number of blocks =
CoreCount. All blocks must have identical configuration; the first block is the single resource template sent to the API. This field is aTypeSetkeyed by_node_indexonly block order in HCL is irrelevant. - Master
Resource []EmrSpecs Cluster V2Zone Resource Configuration All Node Resource Spec Master Resource Spec - Master node resource specifications. Number of blocks =
MasterCount. All blocks must have identical configuration; the first block is the single resource template sent to the API. This field is aTypeSetkeyed by_node_indexonly block order in HCL is irrelevant. - Task
Resource []EmrSpecs Cluster V2Zone Resource Configuration All Node Resource Spec Task Resource Spec - Task node resource specifications. Number of blocks =
TaskCount. All blocks must have identical configuration; the first block is the single resource template sent to the API. This field is aTypeSetkeyed by_node_indexonly block order in HCL is irrelevant.
- common_
resource_ list(object)specs - Common node resource specifications. Number of blocks =
CommonCount. All blocks must have identical configuration; the first block is the single resource template sent to the API. This field is aTypeSetkeyed by_node_indexonly block order in HCL is irrelevant. - core_
resource_ list(object)specs - Core node resource specifications. Number of blocks =
CoreCount. All blocks must have identical configuration; the first block is the single resource template sent to the API. This field is aTypeSetkeyed by_node_indexonly block order in HCL is irrelevant. - master_
resource_ list(object)specs - Master node resource specifications. Number of blocks =
MasterCount. All blocks must have identical configuration; the first block is the single resource template sent to the API. This field is aTypeSetkeyed by_node_indexonly block order in HCL is irrelevant. - task_
resource_ list(object)specs - Task node resource specifications. Number of blocks =
TaskCount. All blocks must have identical configuration; the first block is the single resource template sent to the API. This field is aTypeSetkeyed by_node_indexonly block order in HCL is irrelevant.
- common
Resource List<EmrSpecs Cluster V2Zone Resource Configuration All Node Resource Spec Common Resource Spec> - Common node resource specifications. Number of blocks =
CommonCount. All blocks must have identical configuration; the first block is the single resource template sent to the API. This field is aTypeSetkeyed by_node_indexonly block order in HCL is irrelevant. - core
Resource List<EmrSpecs Cluster V2Zone Resource Configuration All Node Resource Spec Core Resource Spec> - Core node resource specifications. Number of blocks =
CoreCount. All blocks must have identical configuration; the first block is the single resource template sent to the API. This field is aTypeSetkeyed by_node_indexonly block order in HCL is irrelevant. - master
Resource List<EmrSpecs Cluster V2Zone Resource Configuration All Node Resource Spec Master Resource Spec> - Master node resource specifications. Number of blocks =
MasterCount. All blocks must have identical configuration; the first block is the single resource template sent to the API. This field is aTypeSetkeyed by_node_indexonly block order in HCL is irrelevant. - task
Resource List<EmrSpecs Cluster V2Zone Resource Configuration All Node Resource Spec Task Resource Spec> - Task node resource specifications. Number of blocks =
TaskCount. All blocks must have identical configuration; the first block is the single resource template sent to the API. This field is aTypeSetkeyed by_node_indexonly block order in HCL is irrelevant.
- common
Resource EmrSpecs Cluster V2Zone Resource Configuration All Node Resource Spec Common Resource Spec[] - Common node resource specifications. Number of blocks =
CommonCount. All blocks must have identical configuration; the first block is the single resource template sent to the API. This field is aTypeSetkeyed by_node_indexonly block order in HCL is irrelevant. - core
Resource EmrSpecs Cluster V2Zone Resource Configuration All Node Resource Spec Core Resource Spec[] - Core node resource specifications. Number of blocks =
CoreCount. All blocks must have identical configuration; the first block is the single resource template sent to the API. This field is aTypeSetkeyed by_node_indexonly block order in HCL is irrelevant. - master
Resource EmrSpecs Cluster V2Zone Resource Configuration All Node Resource Spec Master Resource Spec[] - Master node resource specifications. Number of blocks =
MasterCount. All blocks must have identical configuration; the first block is the single resource template sent to the API. This field is aTypeSetkeyed by_node_indexonly block order in HCL is irrelevant. - task
Resource EmrSpecs Cluster V2Zone Resource Configuration All Node Resource Spec Task Resource Spec[] - Task node resource specifications. Number of blocks =
TaskCount. All blocks must have identical configuration; the first block is the single resource template sent to the API. This field is aTypeSetkeyed by_node_indexonly block order in HCL is irrelevant.
- common_
resource_ Sequence[Emrspecs Cluster V2Zone Resource Configuration All Node Resource Spec Common Resource Spec] - Common node resource specifications. Number of blocks =
CommonCount. All blocks must have identical configuration; the first block is the single resource template sent to the API. This field is aTypeSetkeyed by_node_indexonly block order in HCL is irrelevant. - core_
resource_ Sequence[Emrspecs Cluster V2Zone Resource Configuration All Node Resource Spec Core Resource Spec] - Core node resource specifications. Number of blocks =
CoreCount. All blocks must have identical configuration; the first block is the single resource template sent to the API. This field is aTypeSetkeyed by_node_indexonly block order in HCL is irrelevant. - master_
resource_ Sequence[Emrspecs Cluster V2Zone Resource Configuration All Node Resource Spec Master Resource Spec] - Master node resource specifications. Number of blocks =
MasterCount. All blocks must have identical configuration; the first block is the single resource template sent to the API. This field is aTypeSetkeyed by_node_indexonly block order in HCL is irrelevant. - task_
resource_ Sequence[Emrspecs Cluster V2Zone Resource Configuration All Node Resource Spec Task Resource Spec] - Task node resource specifications. Number of blocks =
TaskCount. All blocks must have identical configuration; the first block is the single resource template sent to the API. This field is aTypeSetkeyed by_node_indexonly block order in HCL is irrelevant.
- common
Resource List<Property Map>Specs - Common node resource specifications. Number of blocks =
CommonCount. All blocks must have identical configuration; the first block is the single resource template sent to the API. This field is aTypeSetkeyed by_node_indexonly block order in HCL is irrelevant. - core
Resource List<Property Map>Specs - Core node resource specifications. Number of blocks =
CoreCount. All blocks must have identical configuration; the first block is the single resource template sent to the API. This field is aTypeSetkeyed by_node_indexonly block order in HCL is irrelevant. - master
Resource List<Property Map>Specs - Master node resource specifications. Number of blocks =
MasterCount. All blocks must have identical configuration; the first block is the single resource template sent to the API. This field is aTypeSetkeyed by_node_indexonly block order in HCL is irrelevant. - task
Resource List<Property Map>Specs - Task node resource specifications. Number of blocks =
TaskCount. All blocks must have identical configuration; the first block is the single resource template sent to the API. This field is aTypeSetkeyed by_node_indexonly block order in HCL is irrelevant.
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpec, EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecArgs
- Softwares
List<Emr
Cluster V2Zone Resource Configuration All Node Resource Spec Common Resource Spec Software> - Per-role software components (with their role/process lists) deployed on this node role. Must be identical across every block of the same role at create time. Aggregated across all four roles (deduped by
services) and passed toCreateClusterasSceneSoftwareConfig.Software. Immutable after create modification is rejected at plan time by CustomizeDiff. - _
node stringIndex - Required stable identity key for this node spec block. Must be unique within the same role's set, and must remain stable across plan/apply. Used by the Update handler to pair old/new blocks for in-place modification. Renaming an existing
_node_indexis rejected by CustomizeDiff for master/common (length immutable); for core/task it is interpreted as scale-in old + scale-out new. - Data
Disks List<EmrCluster V2Zone Resource Configuration All Node Resource Spec Common Resource Spec Data Disk> - Cloud data disk specifications.
TypeSetkeyed by full content (including_disk_index); block order in HCL is irrelevant. - Emr
Resource stringId - EMR node resource ID (read-only).
- Instance
Type string - CVM instance type, e.g.,
S6.2XLARGE32,SA4.8XLARGE64. - Order
No string - Machine instance ID (read-only).
- System
Disk EmrCluster V2Zone Resource Configuration All Node Resource Spec Common Resource Spec System Disk - System disk specifications.
- Softwares
[]Emr
Cluster V2Zone Resource Configuration All Node Resource Spec Common Resource Spec Software - Per-role software components (with their role/process lists) deployed on this node role. Must be identical across every block of the same role at create time. Aggregated across all four roles (deduped by
services) and passed toCreateClusterasSceneSoftwareConfig.Software. Immutable after create modification is rejected at plan time by CustomizeDiff. - _
node stringIndex - Required stable identity key for this node spec block. Must be unique within the same role's set, and must remain stable across plan/apply. Used by the Update handler to pair old/new blocks for in-place modification. Renaming an existing
_node_indexis rejected by CustomizeDiff for master/common (length immutable); for core/task it is interpreted as scale-in old + scale-out new. - Data
Disks []EmrCluster V2Zone Resource Configuration All Node Resource Spec Common Resource Spec Data Disk - Cloud data disk specifications.
TypeSetkeyed by full content (including_disk_index); block order in HCL is irrelevant. - Emr
Resource stringId - EMR node resource ID (read-only).
- Instance
Type string - CVM instance type, e.g.,
S6.2XLARGE32,SA4.8XLARGE64. - Order
No string - Machine instance ID (read-only).
- System
Disk EmrCluster V2Zone Resource Configuration All Node Resource Spec Common Resource Spec System Disk - System disk specifications.
- _
node_ stringindex - Required stable identity key for this node spec block. Must be unique within the same role's set, and must remain stable across plan/apply. Used by the Update handler to pair old/new blocks for in-place modification. Renaming an existing
_node_indexis rejected by CustomizeDiff for master/common (length immutable); for core/task it is interpreted as scale-in old + scale-out new. - softwares list(object)
- Per-role software components (with their role/process lists) deployed on this node role. Must be identical across every block of the same role at create time. Aggregated across all four roles (deduped by
services) and passed toCreateClusterasSceneSoftwareConfig.Software. Immutable after create modification is rejected at plan time by CustomizeDiff. - data_
disks list(object) - Cloud data disk specifications.
TypeSetkeyed by full content (including_disk_index); block order in HCL is irrelevant. - emr_
resource_ stringid - EMR node resource ID (read-only).
- instance_
type string - CVM instance type, e.g.,
S6.2XLARGE32,SA4.8XLARGE64. - order_
no string - Machine instance ID (read-only).
- system_
disk object - System disk specifications.
- _
node StringIndex - Required stable identity key for this node spec block. Must be unique within the same role's set, and must remain stable across plan/apply. Used by the Update handler to pair old/new blocks for in-place modification. Renaming an existing
_node_indexis rejected by CustomizeDiff for master/common (length immutable); for core/task it is interpreted as scale-in old + scale-out new. - softwares
List<Emr
Cluster V2Zone Resource Configuration All Node Resource Spec Common Resource Spec Software> - Per-role software components (with their role/process lists) deployed on this node role. Must be identical across every block of the same role at create time. Aggregated across all four roles (deduped by
services) and passed toCreateClusterasSceneSoftwareConfig.Software. Immutable after create modification is rejected at plan time by CustomizeDiff. - data
Disks List<EmrCluster V2Zone Resource Configuration All Node Resource Spec Common Resource Spec Data Disk> - Cloud data disk specifications.
TypeSetkeyed by full content (including_disk_index); block order in HCL is irrelevant. - emr
Resource StringId - EMR node resource ID (read-only).
- instance
Type String - CVM instance type, e.g.,
S6.2XLARGE32,SA4.8XLARGE64. - order
No String - Machine instance ID (read-only).
- system
Disk EmrCluster V2Zone Resource Configuration All Node Resource Spec Common Resource Spec System Disk - System disk specifications.
- _
node stringIndex - Required stable identity key for this node spec block. Must be unique within the same role's set, and must remain stable across plan/apply. Used by the Update handler to pair old/new blocks for in-place modification. Renaming an existing
_node_indexis rejected by CustomizeDiff for master/common (length immutable); for core/task it is interpreted as scale-in old + scale-out new. - softwares
Emr
Cluster V2Zone Resource Configuration All Node Resource Spec Common Resource Spec Software[] - Per-role software components (with their role/process lists) deployed on this node role. Must be identical across every block of the same role at create time. Aggregated across all four roles (deduped by
services) and passed toCreateClusterasSceneSoftwareConfig.Software. Immutable after create modification is rejected at plan time by CustomizeDiff. - data
Disks EmrCluster V2Zone Resource Configuration All Node Resource Spec Common Resource Spec Data Disk[] - Cloud data disk specifications.
TypeSetkeyed by full content (including_disk_index); block order in HCL is irrelevant. - emr
Resource stringId - EMR node resource ID (read-only).
- instance
Type string - CVM instance type, e.g.,
S6.2XLARGE32,SA4.8XLARGE64. - order
No string - Machine instance ID (read-only).
- system
Disk EmrCluster V2Zone Resource Configuration All Node Resource Spec Common Resource Spec System Disk - System disk specifications.
- _
node_ strindex - Required stable identity key for this node spec block. Must be unique within the same role's set, and must remain stable across plan/apply. Used by the Update handler to pair old/new blocks for in-place modification. Renaming an existing
_node_indexis rejected by CustomizeDiff for master/common (length immutable); for core/task it is interpreted as scale-in old + scale-out new. - softwares
Sequence[Emr
Cluster V2Zone Resource Configuration All Node Resource Spec Common Resource Spec Software] - Per-role software components (with their role/process lists) deployed on this node role. Must be identical across every block of the same role at create time. Aggregated across all four roles (deduped by
services) and passed toCreateClusterasSceneSoftwareConfig.Software. Immutable after create modification is rejected at plan time by CustomizeDiff. - data_
disks Sequence[EmrCluster V2Zone Resource Configuration All Node Resource Spec Common Resource Spec Data Disk] - Cloud data disk specifications.
TypeSetkeyed by full content (including_disk_index); block order in HCL is irrelevant. - emr_
resource_ strid - EMR node resource ID (read-only).
- instance_
type str - CVM instance type, e.g.,
S6.2XLARGE32,SA4.8XLARGE64. - order_
no str - Machine instance ID (read-only).
- system_
disk EmrCluster V2Zone Resource Configuration All Node Resource Spec Common Resource Spec System Disk - System disk specifications.
- _
node StringIndex - Required stable identity key for this node spec block. Must be unique within the same role's set, and must remain stable across plan/apply. Used by the Update handler to pair old/new blocks for in-place modification. Renaming an existing
_node_indexis rejected by CustomizeDiff for master/common (length immutable); for core/task it is interpreted as scale-in old + scale-out new. - softwares List<Property Map>
- Per-role software components (with their role/process lists) deployed on this node role. Must be identical across every block of the same role at create time. Aggregated across all four roles (deduped by
services) and passed toCreateClusterasSceneSoftwareConfig.Software. Immutable after create modification is rejected at plan time by CustomizeDiff. - data
Disks List<Property Map> - Cloud data disk specifications.
TypeSetkeyed by full content (including_disk_index); block order in HCL is irrelevant. - emr
Resource StringId - EMR node resource ID (read-only).
- instance
Type String - CVM instance type, e.g.,
S6.2XLARGE32,SA4.8XLARGE64. - order
No String - Machine instance ID (read-only).
- system
Disk Property Map - System disk specifications.
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecDataDisk, EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecDataDiskArgs
- _
disk stringIndex - Required stable identity key for this
data_diskblock. Must be unique within the same node'sdata_diskset, and must remain stable across plan/apply once written to state. Renaming an existing_disk_indexis rejected (treated as remove+add, which violates the no-shrink rule). - Disk
Id string - Disk ID (read-only, populated from API).
- Disk
Size double - Disk size in GB. Can only be increased after creation; shrinking is rejected at plan time.
- Disk
Type string - Disk type. Valid values:
CLOUD_SSD,CLOUD_PREMIUM,CLOUD_BASIC,LOCAL_BASIC,LOCAL_SSD,CLOUD_HSSD,CLOUD_THROUGHPUT,CLOUD_TSSD,CLOUD_BIGDATA,CLOUD_HIGHIO,CLOUD_BSSD,REMOTE_SSD. Immutable after creation.
- _
disk stringIndex - Required stable identity key for this
data_diskblock. Must be unique within the same node'sdata_diskset, and must remain stable across plan/apply once written to state. Renaming an existing_disk_indexis rejected (treated as remove+add, which violates the no-shrink rule). - Disk
Id string - Disk ID (read-only, populated from API).
- Disk
Size float64 - Disk size in GB. Can only be increased after creation; shrinking is rejected at plan time.
- Disk
Type string - Disk type. Valid values:
CLOUD_SSD,CLOUD_PREMIUM,CLOUD_BASIC,LOCAL_BASIC,LOCAL_SSD,CLOUD_HSSD,CLOUD_THROUGHPUT,CLOUD_TSSD,CLOUD_BIGDATA,CLOUD_HIGHIO,CLOUD_BSSD,REMOTE_SSD. Immutable after creation.
- _
disk_ stringindex - Required stable identity key for this
data_diskblock. Must be unique within the same node'sdata_diskset, and must remain stable across plan/apply once written to state. Renaming an existing_disk_indexis rejected (treated as remove+add, which violates the no-shrink rule). - disk_
id string - Disk ID (read-only, populated from API).
- disk_
size number - Disk size in GB. Can only be increased after creation; shrinking is rejected at plan time.
- disk_
type string - Disk type. Valid values:
CLOUD_SSD,CLOUD_PREMIUM,CLOUD_BASIC,LOCAL_BASIC,LOCAL_SSD,CLOUD_HSSD,CLOUD_THROUGHPUT,CLOUD_TSSD,CLOUD_BIGDATA,CLOUD_HIGHIO,CLOUD_BSSD,REMOTE_SSD. Immutable after creation.
- _
disk StringIndex - Required stable identity key for this
data_diskblock. Must be unique within the same node'sdata_diskset, and must remain stable across plan/apply once written to state. Renaming an existing_disk_indexis rejected (treated as remove+add, which violates the no-shrink rule). - disk
Id String - Disk ID (read-only, populated from API).
- disk
Size Double - Disk size in GB. Can only be increased after creation; shrinking is rejected at plan time.
- disk
Type String - Disk type. Valid values:
CLOUD_SSD,CLOUD_PREMIUM,CLOUD_BASIC,LOCAL_BASIC,LOCAL_SSD,CLOUD_HSSD,CLOUD_THROUGHPUT,CLOUD_TSSD,CLOUD_BIGDATA,CLOUD_HIGHIO,CLOUD_BSSD,REMOTE_SSD. Immutable after creation.
- _
disk stringIndex - Required stable identity key for this
data_diskblock. Must be unique within the same node'sdata_diskset, and must remain stable across plan/apply once written to state. Renaming an existing_disk_indexis rejected (treated as remove+add, which violates the no-shrink rule). - disk
Id string - Disk ID (read-only, populated from API).
- disk
Size number - Disk size in GB. Can only be increased after creation; shrinking is rejected at plan time.
- disk
Type string - Disk type. Valid values:
CLOUD_SSD,CLOUD_PREMIUM,CLOUD_BASIC,LOCAL_BASIC,LOCAL_SSD,CLOUD_HSSD,CLOUD_THROUGHPUT,CLOUD_TSSD,CLOUD_BIGDATA,CLOUD_HIGHIO,CLOUD_BSSD,REMOTE_SSD. Immutable after creation.
- _
disk_ strindex - Required stable identity key for this
data_diskblock. Must be unique within the same node'sdata_diskset, and must remain stable across plan/apply once written to state. Renaming an existing_disk_indexis rejected (treated as remove+add, which violates the no-shrink rule). - disk_
id str - Disk ID (read-only, populated from API).
- disk_
size float - Disk size in GB. Can only be increased after creation; shrinking is rejected at plan time.
- disk_
type str - Disk type. Valid values:
CLOUD_SSD,CLOUD_PREMIUM,CLOUD_BASIC,LOCAL_BASIC,LOCAL_SSD,CLOUD_HSSD,CLOUD_THROUGHPUT,CLOUD_TSSD,CLOUD_BIGDATA,CLOUD_HIGHIO,CLOUD_BSSD,REMOTE_SSD. Immutable after creation.
- _
disk StringIndex - Required stable identity key for this
data_diskblock. Must be unique within the same node'sdata_diskset, and must remain stable across plan/apply once written to state. Renaming an existing_disk_indexis rejected (treated as remove+add, which violates the no-shrink rule). - disk
Id String - Disk ID (read-only, populated from API).
- disk
Size Number - Disk size in GB. Can only be increased after creation; shrinking is rejected at plan time.
- disk
Type String - Disk type. Valid values:
CLOUD_SSD,CLOUD_PREMIUM,CLOUD_BASIC,LOCAL_BASIC,LOCAL_SSD,CLOUD_HSSD,CLOUD_THROUGHPUT,CLOUD_TSSD,CLOUD_BIGDATA,CLOUD_HIGHIO,CLOUD_BSSD,REMOTE_SSD. Immutable after creation.
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftware, EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSoftwareArgs
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSystemDisk, EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCommonResourceSpecSystemDiskArgs
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpec, EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecArgs
- Softwares
List<Emr
Cluster V2Zone Resource Configuration All Node Resource Spec Core Resource Spec Software> - Per-role software components (with their role/process lists) deployed on this node role. Must be identical across every block of the same role at create time. Aggregated across all four roles (deduped by
services) and passed toCreateClusterasSceneSoftwareConfig.Software. Immutable after create modification is rejected at plan time by CustomizeDiff. - _
node stringIndex - Required stable identity key for this node spec block. Must be unique within the same role's set, and must remain stable across plan/apply. Used by the Update handler to pair old/new blocks for in-place modification. Renaming an existing
_node_indexis rejected by CustomizeDiff for master/common (length immutable); for core/task it is interpreted as scale-in old + scale-out new. - Data
Disks List<EmrCluster V2Zone Resource Configuration All Node Resource Spec Core Resource Spec Data Disk> - Cloud data disk specifications.
TypeSetkeyed by full content (including_disk_index); block order in HCL is irrelevant. - Emr
Resource stringId - EMR node resource ID (read-only).
- Instance
Type string - CVM instance type, e.g.,
S6.2XLARGE32,SA4.8XLARGE64. - Order
No string - Machine instance ID (read-only).
- System
Disk EmrCluster V2Zone Resource Configuration All Node Resource Spec Core Resource Spec System Disk - System disk specifications.
- Softwares
[]Emr
Cluster V2Zone Resource Configuration All Node Resource Spec Core Resource Spec Software - Per-role software components (with their role/process lists) deployed on this node role. Must be identical across every block of the same role at create time. Aggregated across all four roles (deduped by
services) and passed toCreateClusterasSceneSoftwareConfig.Software. Immutable after create modification is rejected at plan time by CustomizeDiff. - _
node stringIndex - Required stable identity key for this node spec block. Must be unique within the same role's set, and must remain stable across plan/apply. Used by the Update handler to pair old/new blocks for in-place modification. Renaming an existing
_node_indexis rejected by CustomizeDiff for master/common (length immutable); for core/task it is interpreted as scale-in old + scale-out new. - Data
Disks []EmrCluster V2Zone Resource Configuration All Node Resource Spec Core Resource Spec Data Disk - Cloud data disk specifications.
TypeSetkeyed by full content (including_disk_index); block order in HCL is irrelevant. - Emr
Resource stringId - EMR node resource ID (read-only).
- Instance
Type string - CVM instance type, e.g.,
S6.2XLARGE32,SA4.8XLARGE64. - Order
No string - Machine instance ID (read-only).
- System
Disk EmrCluster V2Zone Resource Configuration All Node Resource Spec Core Resource Spec System Disk - System disk specifications.
- _
node_ stringindex - Required stable identity key for this node spec block. Must be unique within the same role's set, and must remain stable across plan/apply. Used by the Update handler to pair old/new blocks for in-place modification. Renaming an existing
_node_indexis rejected by CustomizeDiff for master/common (length immutable); for core/task it is interpreted as scale-in old + scale-out new. - softwares list(object)
- Per-role software components (with their role/process lists) deployed on this node role. Must be identical across every block of the same role at create time. Aggregated across all four roles (deduped by
services) and passed toCreateClusterasSceneSoftwareConfig.Software. Immutable after create modification is rejected at plan time by CustomizeDiff. - data_
disks list(object) - Cloud data disk specifications.
TypeSetkeyed by full content (including_disk_index); block order in HCL is irrelevant. - emr_
resource_ stringid - EMR node resource ID (read-only).
- instance_
type string - CVM instance type, e.g.,
S6.2XLARGE32,SA4.8XLARGE64. - order_
no string - Machine instance ID (read-only).
- system_
disk object - System disk specifications.
- _
node StringIndex - Required stable identity key for this node spec block. Must be unique within the same role's set, and must remain stable across plan/apply. Used by the Update handler to pair old/new blocks for in-place modification. Renaming an existing
_node_indexis rejected by CustomizeDiff for master/common (length immutable); for core/task it is interpreted as scale-in old + scale-out new. - softwares
List<Emr
Cluster V2Zone Resource Configuration All Node Resource Spec Core Resource Spec Software> - Per-role software components (with their role/process lists) deployed on this node role. Must be identical across every block of the same role at create time. Aggregated across all four roles (deduped by
services) and passed toCreateClusterasSceneSoftwareConfig.Software. Immutable after create modification is rejected at plan time by CustomizeDiff. - data
Disks List<EmrCluster V2Zone Resource Configuration All Node Resource Spec Core Resource Spec Data Disk> - Cloud data disk specifications.
TypeSetkeyed by full content (including_disk_index); block order in HCL is irrelevant. - emr
Resource StringId - EMR node resource ID (read-only).
- instance
Type String - CVM instance type, e.g.,
S6.2XLARGE32,SA4.8XLARGE64. - order
No String - Machine instance ID (read-only).
- system
Disk EmrCluster V2Zone Resource Configuration All Node Resource Spec Core Resource Spec System Disk - System disk specifications.
- _
node stringIndex - Required stable identity key for this node spec block. Must be unique within the same role's set, and must remain stable across plan/apply. Used by the Update handler to pair old/new blocks for in-place modification. Renaming an existing
_node_indexis rejected by CustomizeDiff for master/common (length immutable); for core/task it is interpreted as scale-in old + scale-out new. - softwares
Emr
Cluster V2Zone Resource Configuration All Node Resource Spec Core Resource Spec Software[] - Per-role software components (with their role/process lists) deployed on this node role. Must be identical across every block of the same role at create time. Aggregated across all four roles (deduped by
services) and passed toCreateClusterasSceneSoftwareConfig.Software. Immutable after create modification is rejected at plan time by CustomizeDiff. - data
Disks EmrCluster V2Zone Resource Configuration All Node Resource Spec Core Resource Spec Data Disk[] - Cloud data disk specifications.
TypeSetkeyed by full content (including_disk_index); block order in HCL is irrelevant. - emr
Resource stringId - EMR node resource ID (read-only).
- instance
Type string - CVM instance type, e.g.,
S6.2XLARGE32,SA4.8XLARGE64. - order
No string - Machine instance ID (read-only).
- system
Disk EmrCluster V2Zone Resource Configuration All Node Resource Spec Core Resource Spec System Disk - System disk specifications.
- _
node_ strindex - Required stable identity key for this node spec block. Must be unique within the same role's set, and must remain stable across plan/apply. Used by the Update handler to pair old/new blocks for in-place modification. Renaming an existing
_node_indexis rejected by CustomizeDiff for master/common (length immutable); for core/task it is interpreted as scale-in old + scale-out new. - softwares
Sequence[Emr
Cluster V2Zone Resource Configuration All Node Resource Spec Core Resource Spec Software] - Per-role software components (with their role/process lists) deployed on this node role. Must be identical across every block of the same role at create time. Aggregated across all four roles (deduped by
services) and passed toCreateClusterasSceneSoftwareConfig.Software. Immutable after create modification is rejected at plan time by CustomizeDiff. - data_
disks Sequence[EmrCluster V2Zone Resource Configuration All Node Resource Spec Core Resource Spec Data Disk] - Cloud data disk specifications.
TypeSetkeyed by full content (including_disk_index); block order in HCL is irrelevant. - emr_
resource_ strid - EMR node resource ID (read-only).
- instance_
type str - CVM instance type, e.g.,
S6.2XLARGE32,SA4.8XLARGE64. - order_
no str - Machine instance ID (read-only).
- system_
disk EmrCluster V2Zone Resource Configuration All Node Resource Spec Core Resource Spec System Disk - System disk specifications.
- _
node StringIndex - Required stable identity key for this node spec block. Must be unique within the same role's set, and must remain stable across plan/apply. Used by the Update handler to pair old/new blocks for in-place modification. Renaming an existing
_node_indexis rejected by CustomizeDiff for master/common (length immutable); for core/task it is interpreted as scale-in old + scale-out new. - softwares List<Property Map>
- Per-role software components (with their role/process lists) deployed on this node role. Must be identical across every block of the same role at create time. Aggregated across all four roles (deduped by
services) and passed toCreateClusterasSceneSoftwareConfig.Software. Immutable after create modification is rejected at plan time by CustomizeDiff. - data
Disks List<Property Map> - Cloud data disk specifications.
TypeSetkeyed by full content (including_disk_index); block order in HCL is irrelevant. - emr
Resource StringId - EMR node resource ID (read-only).
- instance
Type String - CVM instance type, e.g.,
S6.2XLARGE32,SA4.8XLARGE64. - order
No String - Machine instance ID (read-only).
- system
Disk Property Map - System disk specifications.
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecDataDisk, EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecDataDiskArgs
- _
disk stringIndex - Required stable identity key for this
data_diskblock. Must be unique within the same node'sdata_diskset, and must remain stable across plan/apply once written to state. Renaming an existing_disk_indexis rejected (treated as remove+add, which violates the no-shrink rule). - Disk
Id string - Disk ID (read-only, populated from API).
- Disk
Size double - Disk size in GB. Can only be increased after creation; shrinking is rejected at plan time.
- Disk
Type string - Disk type. Valid values:
CLOUD_SSD,CLOUD_PREMIUM,CLOUD_BASIC,LOCAL_BASIC,LOCAL_SSD,CLOUD_HSSD,CLOUD_THROUGHPUT,CLOUD_TSSD,CLOUD_BIGDATA,CLOUD_HIGHIO,CLOUD_BSSD,REMOTE_SSD. Immutable after creation.
- _
disk stringIndex - Required stable identity key for this
data_diskblock. Must be unique within the same node'sdata_diskset, and must remain stable across plan/apply once written to state. Renaming an existing_disk_indexis rejected (treated as remove+add, which violates the no-shrink rule). - Disk
Id string - Disk ID (read-only, populated from API).
- Disk
Size float64 - Disk size in GB. Can only be increased after creation; shrinking is rejected at plan time.
- Disk
Type string - Disk type. Valid values:
CLOUD_SSD,CLOUD_PREMIUM,CLOUD_BASIC,LOCAL_BASIC,LOCAL_SSD,CLOUD_HSSD,CLOUD_THROUGHPUT,CLOUD_TSSD,CLOUD_BIGDATA,CLOUD_HIGHIO,CLOUD_BSSD,REMOTE_SSD. Immutable after creation.
- _
disk_ stringindex - Required stable identity key for this
data_diskblock. Must be unique within the same node'sdata_diskset, and must remain stable across plan/apply once written to state. Renaming an existing_disk_indexis rejected (treated as remove+add, which violates the no-shrink rule). - disk_
id string - Disk ID (read-only, populated from API).
- disk_
size number - Disk size in GB. Can only be increased after creation; shrinking is rejected at plan time.
- disk_
type string - Disk type. Valid values:
CLOUD_SSD,CLOUD_PREMIUM,CLOUD_BASIC,LOCAL_BASIC,LOCAL_SSD,CLOUD_HSSD,CLOUD_THROUGHPUT,CLOUD_TSSD,CLOUD_BIGDATA,CLOUD_HIGHIO,CLOUD_BSSD,REMOTE_SSD. Immutable after creation.
- _
disk StringIndex - Required stable identity key for this
data_diskblock. Must be unique within the same node'sdata_diskset, and must remain stable across plan/apply once written to state. Renaming an existing_disk_indexis rejected (treated as remove+add, which violates the no-shrink rule). - disk
Id String - Disk ID (read-only, populated from API).
- disk
Size Double - Disk size in GB. Can only be increased after creation; shrinking is rejected at plan time.
- disk
Type String - Disk type. Valid values:
CLOUD_SSD,CLOUD_PREMIUM,CLOUD_BASIC,LOCAL_BASIC,LOCAL_SSD,CLOUD_HSSD,CLOUD_THROUGHPUT,CLOUD_TSSD,CLOUD_BIGDATA,CLOUD_HIGHIO,CLOUD_BSSD,REMOTE_SSD. Immutable after creation.
- _
disk stringIndex - Required stable identity key for this
data_diskblock. Must be unique within the same node'sdata_diskset, and must remain stable across plan/apply once written to state. Renaming an existing_disk_indexis rejected (treated as remove+add, which violates the no-shrink rule). - disk
Id string - Disk ID (read-only, populated from API).
- disk
Size number - Disk size in GB. Can only be increased after creation; shrinking is rejected at plan time.
- disk
Type string - Disk type. Valid values:
CLOUD_SSD,CLOUD_PREMIUM,CLOUD_BASIC,LOCAL_BASIC,LOCAL_SSD,CLOUD_HSSD,CLOUD_THROUGHPUT,CLOUD_TSSD,CLOUD_BIGDATA,CLOUD_HIGHIO,CLOUD_BSSD,REMOTE_SSD. Immutable after creation.
- _
disk_ strindex - Required stable identity key for this
data_diskblock. Must be unique within the same node'sdata_diskset, and must remain stable across plan/apply once written to state. Renaming an existing_disk_indexis rejected (treated as remove+add, which violates the no-shrink rule). - disk_
id str - Disk ID (read-only, populated from API).
- disk_
size float - Disk size in GB. Can only be increased after creation; shrinking is rejected at plan time.
- disk_
type str - Disk type. Valid values:
CLOUD_SSD,CLOUD_PREMIUM,CLOUD_BASIC,LOCAL_BASIC,LOCAL_SSD,CLOUD_HSSD,CLOUD_THROUGHPUT,CLOUD_TSSD,CLOUD_BIGDATA,CLOUD_HIGHIO,CLOUD_BSSD,REMOTE_SSD. Immutable after creation.
- _
disk StringIndex - Required stable identity key for this
data_diskblock. Must be unique within the same node'sdata_diskset, and must remain stable across plan/apply once written to state. Renaming an existing_disk_indexis rejected (treated as remove+add, which violates the no-shrink rule). - disk
Id String - Disk ID (read-only, populated from API).
- disk
Size Number - Disk size in GB. Can only be increased after creation; shrinking is rejected at plan time.
- disk
Type String - Disk type. Valid values:
CLOUD_SSD,CLOUD_PREMIUM,CLOUD_BASIC,LOCAL_BASIC,LOCAL_SSD,CLOUD_HSSD,CLOUD_THROUGHPUT,CLOUD_TSSD,CLOUD_BIGDATA,CLOUD_HIGHIO,CLOUD_BSSD,REMOTE_SSD. Immutable after creation.
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftware, EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSoftwareArgs
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSystemDisk, EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecCoreResourceSpecSystemDiskArgs
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpec, EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecArgs
- Softwares
List<Emr
Cluster V2Zone Resource Configuration All Node Resource Spec Master Resource Spec Software> - Per-role software components (with their role/process lists) deployed on this node role. Must be identical across every block of the same role at create time. Aggregated across all four roles (deduped by
services) and passed toCreateClusterasSceneSoftwareConfig.Software. Immutable after create modification is rejected at plan time by CustomizeDiff. - _
node stringIndex - Required stable identity key for this node spec block. Must be unique within the same role's set, and must remain stable across plan/apply. Used by the Update handler to pair old/new blocks for in-place modification. Renaming an existing
_node_indexis rejected by CustomizeDiff for master/common (length immutable); for core/task it is interpreted as scale-in old + scale-out new. - Data
Disks List<EmrCluster V2Zone Resource Configuration All Node Resource Spec Master Resource Spec Data Disk> - Cloud data disk specifications.
TypeSetkeyed by full content (including_disk_index); block order in HCL is irrelevant. - Emr
Resource stringId - EMR node resource ID (read-only).
- Instance
Type string - CVM instance type, e.g.,
S6.2XLARGE32,SA4.8XLARGE64. - Order
No string - Machine instance ID (read-only).
- System
Disk EmrCluster V2Zone Resource Configuration All Node Resource Spec Master Resource Spec System Disk - System disk specifications.
- Softwares
[]Emr
Cluster V2Zone Resource Configuration All Node Resource Spec Master Resource Spec Software - Per-role software components (with their role/process lists) deployed on this node role. Must be identical across every block of the same role at create time. Aggregated across all four roles (deduped by
services) and passed toCreateClusterasSceneSoftwareConfig.Software. Immutable after create modification is rejected at plan time by CustomizeDiff. - _
node stringIndex - Required stable identity key for this node spec block. Must be unique within the same role's set, and must remain stable across plan/apply. Used by the Update handler to pair old/new blocks for in-place modification. Renaming an existing
_node_indexis rejected by CustomizeDiff for master/common (length immutable); for core/task it is interpreted as scale-in old + scale-out new. - Data
Disks []EmrCluster V2Zone Resource Configuration All Node Resource Spec Master Resource Spec Data Disk - Cloud data disk specifications.
TypeSetkeyed by full content (including_disk_index); block order in HCL is irrelevant. - Emr
Resource stringId - EMR node resource ID (read-only).
- Instance
Type string - CVM instance type, e.g.,
S6.2XLARGE32,SA4.8XLARGE64. - Order
No string - Machine instance ID (read-only).
- System
Disk EmrCluster V2Zone Resource Configuration All Node Resource Spec Master Resource Spec System Disk - System disk specifications.
- _
node_ stringindex - Required stable identity key for this node spec block. Must be unique within the same role's set, and must remain stable across plan/apply. Used by the Update handler to pair old/new blocks for in-place modification. Renaming an existing
_node_indexis rejected by CustomizeDiff for master/common (length immutable); for core/task it is interpreted as scale-in old + scale-out new. - softwares list(object)
- Per-role software components (with their role/process lists) deployed on this node role. Must be identical across every block of the same role at create time. Aggregated across all four roles (deduped by
services) and passed toCreateClusterasSceneSoftwareConfig.Software. Immutable after create modification is rejected at plan time by CustomizeDiff. - data_
disks list(object) - Cloud data disk specifications.
TypeSetkeyed by full content (including_disk_index); block order in HCL is irrelevant. - emr_
resource_ stringid - EMR node resource ID (read-only).
- instance_
type string - CVM instance type, e.g.,
S6.2XLARGE32,SA4.8XLARGE64. - order_
no string - Machine instance ID (read-only).
- system_
disk object - System disk specifications.
- _
node StringIndex - Required stable identity key for this node spec block. Must be unique within the same role's set, and must remain stable across plan/apply. Used by the Update handler to pair old/new blocks for in-place modification. Renaming an existing
_node_indexis rejected by CustomizeDiff for master/common (length immutable); for core/task it is interpreted as scale-in old + scale-out new. - softwares
List<Emr
Cluster V2Zone Resource Configuration All Node Resource Spec Master Resource Spec Software> - Per-role software components (with their role/process lists) deployed on this node role. Must be identical across every block of the same role at create time. Aggregated across all four roles (deduped by
services) and passed toCreateClusterasSceneSoftwareConfig.Software. Immutable after create modification is rejected at plan time by CustomizeDiff. - data
Disks List<EmrCluster V2Zone Resource Configuration All Node Resource Spec Master Resource Spec Data Disk> - Cloud data disk specifications.
TypeSetkeyed by full content (including_disk_index); block order in HCL is irrelevant. - emr
Resource StringId - EMR node resource ID (read-only).
- instance
Type String - CVM instance type, e.g.,
S6.2XLARGE32,SA4.8XLARGE64. - order
No String - Machine instance ID (read-only).
- system
Disk EmrCluster V2Zone Resource Configuration All Node Resource Spec Master Resource Spec System Disk - System disk specifications.
- _
node stringIndex - Required stable identity key for this node spec block. Must be unique within the same role's set, and must remain stable across plan/apply. Used by the Update handler to pair old/new blocks for in-place modification. Renaming an existing
_node_indexis rejected by CustomizeDiff for master/common (length immutable); for core/task it is interpreted as scale-in old + scale-out new. - softwares
Emr
Cluster V2Zone Resource Configuration All Node Resource Spec Master Resource Spec Software[] - Per-role software components (with their role/process lists) deployed on this node role. Must be identical across every block of the same role at create time. Aggregated across all four roles (deduped by
services) and passed toCreateClusterasSceneSoftwareConfig.Software. Immutable after create modification is rejected at plan time by CustomizeDiff. - data
Disks EmrCluster V2Zone Resource Configuration All Node Resource Spec Master Resource Spec Data Disk[] - Cloud data disk specifications.
TypeSetkeyed by full content (including_disk_index); block order in HCL is irrelevant. - emr
Resource stringId - EMR node resource ID (read-only).
- instance
Type string - CVM instance type, e.g.,
S6.2XLARGE32,SA4.8XLARGE64. - order
No string - Machine instance ID (read-only).
- system
Disk EmrCluster V2Zone Resource Configuration All Node Resource Spec Master Resource Spec System Disk - System disk specifications.
- _
node_ strindex - Required stable identity key for this node spec block. Must be unique within the same role's set, and must remain stable across plan/apply. Used by the Update handler to pair old/new blocks for in-place modification. Renaming an existing
_node_indexis rejected by CustomizeDiff for master/common (length immutable); for core/task it is interpreted as scale-in old + scale-out new. - softwares
Sequence[Emr
Cluster V2Zone Resource Configuration All Node Resource Spec Master Resource Spec Software] - Per-role software components (with their role/process lists) deployed on this node role. Must be identical across every block of the same role at create time. Aggregated across all four roles (deduped by
services) and passed toCreateClusterasSceneSoftwareConfig.Software. Immutable after create modification is rejected at plan time by CustomizeDiff. - data_
disks Sequence[EmrCluster V2Zone Resource Configuration All Node Resource Spec Master Resource Spec Data Disk] - Cloud data disk specifications.
TypeSetkeyed by full content (including_disk_index); block order in HCL is irrelevant. - emr_
resource_ strid - EMR node resource ID (read-only).
- instance_
type str - CVM instance type, e.g.,
S6.2XLARGE32,SA4.8XLARGE64. - order_
no str - Machine instance ID (read-only).
- system_
disk EmrCluster V2Zone Resource Configuration All Node Resource Spec Master Resource Spec System Disk - System disk specifications.
- _
node StringIndex - Required stable identity key for this node spec block. Must be unique within the same role's set, and must remain stable across plan/apply. Used by the Update handler to pair old/new blocks for in-place modification. Renaming an existing
_node_indexis rejected by CustomizeDiff for master/common (length immutable); for core/task it is interpreted as scale-in old + scale-out new. - softwares List<Property Map>
- Per-role software components (with their role/process lists) deployed on this node role. Must be identical across every block of the same role at create time. Aggregated across all four roles (deduped by
services) and passed toCreateClusterasSceneSoftwareConfig.Software. Immutable after create modification is rejected at plan time by CustomizeDiff. - data
Disks List<Property Map> - Cloud data disk specifications.
TypeSetkeyed by full content (including_disk_index); block order in HCL is irrelevant. - emr
Resource StringId - EMR node resource ID (read-only).
- instance
Type String - CVM instance type, e.g.,
S6.2XLARGE32,SA4.8XLARGE64. - order
No String - Machine instance ID (read-only).
- system
Disk Property Map - System disk specifications.
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecDataDisk, EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecDataDiskArgs
- _
disk stringIndex - Required stable identity key for this
data_diskblock. Must be unique within the same node'sdata_diskset, and must remain stable across plan/apply once written to state. Renaming an existing_disk_indexis rejected (treated as remove+add, which violates the no-shrink rule). - Disk
Id string - Disk ID (read-only, populated from API).
- Disk
Size double - Disk size in GB. Can only be increased after creation; shrinking is rejected at plan time.
- Disk
Type string - Disk type. Valid values:
CLOUD_SSD,CLOUD_PREMIUM,CLOUD_BASIC,LOCAL_BASIC,LOCAL_SSD,CLOUD_HSSD,CLOUD_THROUGHPUT,CLOUD_TSSD,CLOUD_BIGDATA,CLOUD_HIGHIO,CLOUD_BSSD,REMOTE_SSD. Immutable after creation.
- _
disk stringIndex - Required stable identity key for this
data_diskblock. Must be unique within the same node'sdata_diskset, and must remain stable across plan/apply once written to state. Renaming an existing_disk_indexis rejected (treated as remove+add, which violates the no-shrink rule). - Disk
Id string - Disk ID (read-only, populated from API).
- Disk
Size float64 - Disk size in GB. Can only be increased after creation; shrinking is rejected at plan time.
- Disk
Type string - Disk type. Valid values:
CLOUD_SSD,CLOUD_PREMIUM,CLOUD_BASIC,LOCAL_BASIC,LOCAL_SSD,CLOUD_HSSD,CLOUD_THROUGHPUT,CLOUD_TSSD,CLOUD_BIGDATA,CLOUD_HIGHIO,CLOUD_BSSD,REMOTE_SSD. Immutable after creation.
- _
disk_ stringindex - Required stable identity key for this
data_diskblock. Must be unique within the same node'sdata_diskset, and must remain stable across plan/apply once written to state. Renaming an existing_disk_indexis rejected (treated as remove+add, which violates the no-shrink rule). - disk_
id string - Disk ID (read-only, populated from API).
- disk_
size number - Disk size in GB. Can only be increased after creation; shrinking is rejected at plan time.
- disk_
type string - Disk type. Valid values:
CLOUD_SSD,CLOUD_PREMIUM,CLOUD_BASIC,LOCAL_BASIC,LOCAL_SSD,CLOUD_HSSD,CLOUD_THROUGHPUT,CLOUD_TSSD,CLOUD_BIGDATA,CLOUD_HIGHIO,CLOUD_BSSD,REMOTE_SSD. Immutable after creation.
- _
disk StringIndex - Required stable identity key for this
data_diskblock. Must be unique within the same node'sdata_diskset, and must remain stable across plan/apply once written to state. Renaming an existing_disk_indexis rejected (treated as remove+add, which violates the no-shrink rule). - disk
Id String - Disk ID (read-only, populated from API).
- disk
Size Double - Disk size in GB. Can only be increased after creation; shrinking is rejected at plan time.
- disk
Type String - Disk type. Valid values:
CLOUD_SSD,CLOUD_PREMIUM,CLOUD_BASIC,LOCAL_BASIC,LOCAL_SSD,CLOUD_HSSD,CLOUD_THROUGHPUT,CLOUD_TSSD,CLOUD_BIGDATA,CLOUD_HIGHIO,CLOUD_BSSD,REMOTE_SSD. Immutable after creation.
- _
disk stringIndex - Required stable identity key for this
data_diskblock. Must be unique within the same node'sdata_diskset, and must remain stable across plan/apply once written to state. Renaming an existing_disk_indexis rejected (treated as remove+add, which violates the no-shrink rule). - disk
Id string - Disk ID (read-only, populated from API).
- disk
Size number - Disk size in GB. Can only be increased after creation; shrinking is rejected at plan time.
- disk
Type string - Disk type. Valid values:
CLOUD_SSD,CLOUD_PREMIUM,CLOUD_BASIC,LOCAL_BASIC,LOCAL_SSD,CLOUD_HSSD,CLOUD_THROUGHPUT,CLOUD_TSSD,CLOUD_BIGDATA,CLOUD_HIGHIO,CLOUD_BSSD,REMOTE_SSD. Immutable after creation.
- _
disk_ strindex - Required stable identity key for this
data_diskblock. Must be unique within the same node'sdata_diskset, and must remain stable across plan/apply once written to state. Renaming an existing_disk_indexis rejected (treated as remove+add, which violates the no-shrink rule). - disk_
id str - Disk ID (read-only, populated from API).
- disk_
size float - Disk size in GB. Can only be increased after creation; shrinking is rejected at plan time.
- disk_
type str - Disk type. Valid values:
CLOUD_SSD,CLOUD_PREMIUM,CLOUD_BASIC,LOCAL_BASIC,LOCAL_SSD,CLOUD_HSSD,CLOUD_THROUGHPUT,CLOUD_TSSD,CLOUD_BIGDATA,CLOUD_HIGHIO,CLOUD_BSSD,REMOTE_SSD. Immutable after creation.
- _
disk StringIndex - Required stable identity key for this
data_diskblock. Must be unique within the same node'sdata_diskset, and must remain stable across plan/apply once written to state. Renaming an existing_disk_indexis rejected (treated as remove+add, which violates the no-shrink rule). - disk
Id String - Disk ID (read-only, populated from API).
- disk
Size Number - Disk size in GB. Can only be increased after creation; shrinking is rejected at plan time.
- disk
Type String - Disk type. Valid values:
CLOUD_SSD,CLOUD_PREMIUM,CLOUD_BASIC,LOCAL_BASIC,LOCAL_SSD,CLOUD_HSSD,CLOUD_THROUGHPUT,CLOUD_TSSD,CLOUD_BIGDATA,CLOUD_HIGHIO,CLOUD_BSSD,REMOTE_SSD. Immutable after creation.
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftware, EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSoftwareArgs
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSystemDisk, EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecMasterResourceSpecSystemDiskArgs
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpec, EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecArgs
- Softwares
List<Emr
Cluster V2Zone Resource Configuration All Node Resource Spec Task Resource Spec Software> - Per-role software components (with their role/process lists) deployed on this node role. Must be identical across every block of the same role at create time. Aggregated across all four roles (deduped by
services) and passed toCreateClusterasSceneSoftwareConfig.Software. Immutable after create modification is rejected at plan time by CustomizeDiff. - _
node stringIndex - Required stable identity key for this node spec block. Must be unique within the same role's set, and must remain stable across plan/apply. Used by the Update handler to pair old/new blocks for in-place modification. Renaming an existing
_node_indexis rejected by CustomizeDiff for master/common (length immutable); for core/task it is interpreted as scale-in old + scale-out new. - Data
Disks List<EmrCluster V2Zone Resource Configuration All Node Resource Spec Task Resource Spec Data Disk> - Cloud data disk specifications.
TypeSetkeyed by full content (including_disk_index); block order in HCL is irrelevant. - Emr
Resource stringId - EMR node resource ID (read-only).
- Instance
Type string - CVM instance type, e.g.,
S6.2XLARGE32,SA4.8XLARGE64. - Order
No string - Machine instance ID (read-only).
- System
Disk EmrCluster V2Zone Resource Configuration All Node Resource Spec Task Resource Spec System Disk - System disk specifications.
- Softwares
[]Emr
Cluster V2Zone Resource Configuration All Node Resource Spec Task Resource Spec Software - Per-role software components (with their role/process lists) deployed on this node role. Must be identical across every block of the same role at create time. Aggregated across all four roles (deduped by
services) and passed toCreateClusterasSceneSoftwareConfig.Software. Immutable after create modification is rejected at plan time by CustomizeDiff. - _
node stringIndex - Required stable identity key for this node spec block. Must be unique within the same role's set, and must remain stable across plan/apply. Used by the Update handler to pair old/new blocks for in-place modification. Renaming an existing
_node_indexis rejected by CustomizeDiff for master/common (length immutable); for core/task it is interpreted as scale-in old + scale-out new. - Data
Disks []EmrCluster V2Zone Resource Configuration All Node Resource Spec Task Resource Spec Data Disk - Cloud data disk specifications.
TypeSetkeyed by full content (including_disk_index); block order in HCL is irrelevant. - Emr
Resource stringId - EMR node resource ID (read-only).
- Instance
Type string - CVM instance type, e.g.,
S6.2XLARGE32,SA4.8XLARGE64. - Order
No string - Machine instance ID (read-only).
- System
Disk EmrCluster V2Zone Resource Configuration All Node Resource Spec Task Resource Spec System Disk - System disk specifications.
- _
node_ stringindex - Required stable identity key for this node spec block. Must be unique within the same role's set, and must remain stable across plan/apply. Used by the Update handler to pair old/new blocks for in-place modification. Renaming an existing
_node_indexis rejected by CustomizeDiff for master/common (length immutable); for core/task it is interpreted as scale-in old + scale-out new. - softwares list(object)
- Per-role software components (with their role/process lists) deployed on this node role. Must be identical across every block of the same role at create time. Aggregated across all four roles (deduped by
services) and passed toCreateClusterasSceneSoftwareConfig.Software. Immutable after create modification is rejected at plan time by CustomizeDiff. - data_
disks list(object) - Cloud data disk specifications.
TypeSetkeyed by full content (including_disk_index); block order in HCL is irrelevant. - emr_
resource_ stringid - EMR node resource ID (read-only).
- instance_
type string - CVM instance type, e.g.,
S6.2XLARGE32,SA4.8XLARGE64. - order_
no string - Machine instance ID (read-only).
- system_
disk object - System disk specifications.
- _
node StringIndex - Required stable identity key for this node spec block. Must be unique within the same role's set, and must remain stable across plan/apply. Used by the Update handler to pair old/new blocks for in-place modification. Renaming an existing
_node_indexis rejected by CustomizeDiff for master/common (length immutable); for core/task it is interpreted as scale-in old + scale-out new. - softwares
List<Emr
Cluster V2Zone Resource Configuration All Node Resource Spec Task Resource Spec Software> - Per-role software components (with their role/process lists) deployed on this node role. Must be identical across every block of the same role at create time. Aggregated across all four roles (deduped by
services) and passed toCreateClusterasSceneSoftwareConfig.Software. Immutable after create modification is rejected at plan time by CustomizeDiff. - data
Disks List<EmrCluster V2Zone Resource Configuration All Node Resource Spec Task Resource Spec Data Disk> - Cloud data disk specifications.
TypeSetkeyed by full content (including_disk_index); block order in HCL is irrelevant. - emr
Resource StringId - EMR node resource ID (read-only).
- instance
Type String - CVM instance type, e.g.,
S6.2XLARGE32,SA4.8XLARGE64. - order
No String - Machine instance ID (read-only).
- system
Disk EmrCluster V2Zone Resource Configuration All Node Resource Spec Task Resource Spec System Disk - System disk specifications.
- _
node stringIndex - Required stable identity key for this node spec block. Must be unique within the same role's set, and must remain stable across plan/apply. Used by the Update handler to pair old/new blocks for in-place modification. Renaming an existing
_node_indexis rejected by CustomizeDiff for master/common (length immutable); for core/task it is interpreted as scale-in old + scale-out new. - softwares
Emr
Cluster V2Zone Resource Configuration All Node Resource Spec Task Resource Spec Software[] - Per-role software components (with their role/process lists) deployed on this node role. Must be identical across every block of the same role at create time. Aggregated across all four roles (deduped by
services) and passed toCreateClusterasSceneSoftwareConfig.Software. Immutable after create modification is rejected at plan time by CustomizeDiff. - data
Disks EmrCluster V2Zone Resource Configuration All Node Resource Spec Task Resource Spec Data Disk[] - Cloud data disk specifications.
TypeSetkeyed by full content (including_disk_index); block order in HCL is irrelevant. - emr
Resource stringId - EMR node resource ID (read-only).
- instance
Type string - CVM instance type, e.g.,
S6.2XLARGE32,SA4.8XLARGE64. - order
No string - Machine instance ID (read-only).
- system
Disk EmrCluster V2Zone Resource Configuration All Node Resource Spec Task Resource Spec System Disk - System disk specifications.
- _
node_ strindex - Required stable identity key for this node spec block. Must be unique within the same role's set, and must remain stable across plan/apply. Used by the Update handler to pair old/new blocks for in-place modification. Renaming an existing
_node_indexis rejected by CustomizeDiff for master/common (length immutable); for core/task it is interpreted as scale-in old + scale-out new. - softwares
Sequence[Emr
Cluster V2Zone Resource Configuration All Node Resource Spec Task Resource Spec Software] - Per-role software components (with their role/process lists) deployed on this node role. Must be identical across every block of the same role at create time. Aggregated across all four roles (deduped by
services) and passed toCreateClusterasSceneSoftwareConfig.Software. Immutable after create modification is rejected at plan time by CustomizeDiff. - data_
disks Sequence[EmrCluster V2Zone Resource Configuration All Node Resource Spec Task Resource Spec Data Disk] - Cloud data disk specifications.
TypeSetkeyed by full content (including_disk_index); block order in HCL is irrelevant. - emr_
resource_ strid - EMR node resource ID (read-only).
- instance_
type str - CVM instance type, e.g.,
S6.2XLARGE32,SA4.8XLARGE64. - order_
no str - Machine instance ID (read-only).
- system_
disk EmrCluster V2Zone Resource Configuration All Node Resource Spec Task Resource Spec System Disk - System disk specifications.
- _
node StringIndex - Required stable identity key for this node spec block. Must be unique within the same role's set, and must remain stable across plan/apply. Used by the Update handler to pair old/new blocks for in-place modification. Renaming an existing
_node_indexis rejected by CustomizeDiff for master/common (length immutable); for core/task it is interpreted as scale-in old + scale-out new. - softwares List<Property Map>
- Per-role software components (with their role/process lists) deployed on this node role. Must be identical across every block of the same role at create time. Aggregated across all four roles (deduped by
services) and passed toCreateClusterasSceneSoftwareConfig.Software. Immutable after create modification is rejected at plan time by CustomizeDiff. - data
Disks List<Property Map> - Cloud data disk specifications.
TypeSetkeyed by full content (including_disk_index); block order in HCL is irrelevant. - emr
Resource StringId - EMR node resource ID (read-only).
- instance
Type String - CVM instance type, e.g.,
S6.2XLARGE32,SA4.8XLARGE64. - order
No String - Machine instance ID (read-only).
- system
Disk Property Map - System disk specifications.
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecDataDisk, EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecDataDiskArgs
- _
disk stringIndex - Required stable identity key for this
data_diskblock. Must be unique within the same node'sdata_diskset, and must remain stable across plan/apply once written to state. Renaming an existing_disk_indexis rejected (treated as remove+add, which violates the no-shrink rule). - Disk
Id string - Disk ID (read-only, populated from API).
- Disk
Size double - Disk size in GB. Can only be increased after creation; shrinking is rejected at plan time.
- Disk
Type string - Disk type. Valid values:
CLOUD_SSD,CLOUD_PREMIUM,CLOUD_BASIC,LOCAL_BASIC,LOCAL_SSD,CLOUD_HSSD,CLOUD_THROUGHPUT,CLOUD_TSSD,CLOUD_BIGDATA,CLOUD_HIGHIO,CLOUD_BSSD,REMOTE_SSD. Immutable after creation.
- _
disk stringIndex - Required stable identity key for this
data_diskblock. Must be unique within the same node'sdata_diskset, and must remain stable across plan/apply once written to state. Renaming an existing_disk_indexis rejected (treated as remove+add, which violates the no-shrink rule). - Disk
Id string - Disk ID (read-only, populated from API).
- Disk
Size float64 - Disk size in GB. Can only be increased after creation; shrinking is rejected at plan time.
- Disk
Type string - Disk type. Valid values:
CLOUD_SSD,CLOUD_PREMIUM,CLOUD_BASIC,LOCAL_BASIC,LOCAL_SSD,CLOUD_HSSD,CLOUD_THROUGHPUT,CLOUD_TSSD,CLOUD_BIGDATA,CLOUD_HIGHIO,CLOUD_BSSD,REMOTE_SSD. Immutable after creation.
- _
disk_ stringindex - Required stable identity key for this
data_diskblock. Must be unique within the same node'sdata_diskset, and must remain stable across plan/apply once written to state. Renaming an existing_disk_indexis rejected (treated as remove+add, which violates the no-shrink rule). - disk_
id string - Disk ID (read-only, populated from API).
- disk_
size number - Disk size in GB. Can only be increased after creation; shrinking is rejected at plan time.
- disk_
type string - Disk type. Valid values:
CLOUD_SSD,CLOUD_PREMIUM,CLOUD_BASIC,LOCAL_BASIC,LOCAL_SSD,CLOUD_HSSD,CLOUD_THROUGHPUT,CLOUD_TSSD,CLOUD_BIGDATA,CLOUD_HIGHIO,CLOUD_BSSD,REMOTE_SSD. Immutable after creation.
- _
disk StringIndex - Required stable identity key for this
data_diskblock. Must be unique within the same node'sdata_diskset, and must remain stable across plan/apply once written to state. Renaming an existing_disk_indexis rejected (treated as remove+add, which violates the no-shrink rule). - disk
Id String - Disk ID (read-only, populated from API).
- disk
Size Double - Disk size in GB. Can only be increased after creation; shrinking is rejected at plan time.
- disk
Type String - Disk type. Valid values:
CLOUD_SSD,CLOUD_PREMIUM,CLOUD_BASIC,LOCAL_BASIC,LOCAL_SSD,CLOUD_HSSD,CLOUD_THROUGHPUT,CLOUD_TSSD,CLOUD_BIGDATA,CLOUD_HIGHIO,CLOUD_BSSD,REMOTE_SSD. Immutable after creation.
- _
disk stringIndex - Required stable identity key for this
data_diskblock. Must be unique within the same node'sdata_diskset, and must remain stable across plan/apply once written to state. Renaming an existing_disk_indexis rejected (treated as remove+add, which violates the no-shrink rule). - disk
Id string - Disk ID (read-only, populated from API).
- disk
Size number - Disk size in GB. Can only be increased after creation; shrinking is rejected at plan time.
- disk
Type string - Disk type. Valid values:
CLOUD_SSD,CLOUD_PREMIUM,CLOUD_BASIC,LOCAL_BASIC,LOCAL_SSD,CLOUD_HSSD,CLOUD_THROUGHPUT,CLOUD_TSSD,CLOUD_BIGDATA,CLOUD_HIGHIO,CLOUD_BSSD,REMOTE_SSD. Immutable after creation.
- _
disk_ strindex - Required stable identity key for this
data_diskblock. Must be unique within the same node'sdata_diskset, and must remain stable across plan/apply once written to state. Renaming an existing_disk_indexis rejected (treated as remove+add, which violates the no-shrink rule). - disk_
id str - Disk ID (read-only, populated from API).
- disk_
size float - Disk size in GB. Can only be increased after creation; shrinking is rejected at plan time.
- disk_
type str - Disk type. Valid values:
CLOUD_SSD,CLOUD_PREMIUM,CLOUD_BASIC,LOCAL_BASIC,LOCAL_SSD,CLOUD_HSSD,CLOUD_THROUGHPUT,CLOUD_TSSD,CLOUD_BIGDATA,CLOUD_HIGHIO,CLOUD_BSSD,REMOTE_SSD. Immutable after creation.
- _
disk StringIndex - Required stable identity key for this
data_diskblock. Must be unique within the same node'sdata_diskset, and must remain stable across plan/apply once written to state. Renaming an existing_disk_indexis rejected (treated as remove+add, which violates the no-shrink rule). - disk
Id String - Disk ID (read-only, populated from API).
- disk
Size Number - Disk size in GB. Can only be increased after creation; shrinking is rejected at plan time.
- disk
Type String - Disk type. Valid values:
CLOUD_SSD,CLOUD_PREMIUM,CLOUD_BASIC,LOCAL_BASIC,LOCAL_SSD,CLOUD_HSSD,CLOUD_THROUGHPUT,CLOUD_TSSD,CLOUD_BIGDATA,CLOUD_HIGHIO,CLOUD_BSSD,REMOTE_SSD. Immutable after creation.
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecSoftware, EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecSoftwareArgs
EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecSystemDisk, EmrClusterV2ZoneResourceConfigurationAllNodeResourceSpecTaskResourceSpecSystemDiskArgs
EmrClusterV2ZoneResourceConfigurationPlacement, EmrClusterV2ZoneResourceConfigurationPlacementArgs
- project_
id number - Project ID. Defaults to default project if omitted.
- zone string
- Availability zone, e.g.,
ap-guangzhou-7.
- project_
id float - Project ID. Defaults to default project if omitted.
- zone str
- Availability zone, e.g.,
ap-guangzhou-7.
EmrClusterV2ZoneResourceConfigurationVirtualPrivateCloud, EmrClusterV2ZoneResourceConfigurationVirtualPrivateCloudArgs
Import
EMR cluster (v2) can be imported using the instance ID, e.g.
$ pulumi import tencentcloud:index/emrClusterV2:EmrClusterV2 example emr-dvacz2w2
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
published on Monday, Jun 22, 2026 by tencentcloudstack