Delete a Google Cloud Dataproc cluster.
yaml
type: "io.kestra.plugin.gcp.dataproc.clusters.Delete"
Examples
Deletes a cluster from Google Cloud Dataproc.
yaml
id: gcp_dataproc_cluster_delete
namespace: company.team
tasks:
- id: create_cluster_with_certain_disk_size
type: io.kestra.plugin.gcp.dataproc.clusters.Create
clusterName: YOUR_CLUSTER_NAME
region: YOUR_REGION
Properties
clusterName *Requiredstring
Min length
1
The cluster name.
region *Requiredstring
Min length
1
The region.
impersonatedServiceAccount string
The GCP service account to impersonate.
projectId string
The GCP project ID.
scopes array
SubType string
Default
["https://www.googleapis.com/auth/cloud-platform"]
The GCP scopes to be used.
serviceAccount string
The GCP service account.
Outputs
clusterName string
The cluster name.
deleted boolean
Default
false
Whether cluster was deleted successfully.