numInstances property
Specifies the number of worker nodes to create.
If not specified, GCP will default to a predetermined computed value (currently 2).
There is currently a beta feature which allows you to run a
Single Node Cluster.
In order to take advantage of this you need to set
"dataproc:dataproc.allow.zero.workers" = "true" in
cluster_config.software_config.properties
Implementation
final pulumi.Input<int?>? numInstances;