future-window-78560
07/31/2022, 3:54 PMdataproccluster = gcp.dataproc.Cluster(dataproc_name,
name=dataproc_name,
region="us-central1",
cluster_config=gcp.dataproc.ClusterClusterConfigArgs(
master_config=gcp.dataproc.ClusterClusterConfigMasterConfigArgs(
num_instances=mastercofig_num_instances,
#machine_type="e2-medium",
machine_type=dataproc_machinetype,
disk_config=gcp.dataproc.ClusterClusterConfigMasterConfigDiskConfigArgs(
boot_disk_type=dataproc_bootdisk_type,
boot_disk_size_gb=dataproc_boot_disk_size_gb,
)
),
worker_config=gcp.dataproc.ClusterClusterConfigWorkerConfigArgs(
num_instances=workerconfig_num_instances,
machine_type=worker_config_machinetype,
disk_config=gcp.dataproc.ClusterClusterConfigWorkerConfigDiskConfigArgs(
boot_disk_size_gb=dataproc_boot_disk_size_gb,
boot_disk_type=workerconfig_dataproc_disktype,
)
)) )
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by