I get this error when I try to create a dataproc cluster
failed: Required 'compute.subnetworks.use' permission for ...
I get this error when I try to create a dataproc cluster
failed: Required 'compute.subnetworks.use' permission for ...
For dataproc cluster creation, this error usually occurs due to missing IAM permission when using shared VPC.
To fix this issue, please go to your shared VPC host project (Where your VPC network is) and grant
Compute Network User role to the following service accounts
Note: The cluster-project-number is the project number associated with the service project (where your Dataproc cluster is provisioned).
Please check here for more information
Creating a Dataproc cluster: considerations, gotchas & resources