library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

Delete GKE Cluster

This pipeline deletes a Google Kubernetes Engine (GKE) cluster.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run gcp.pipeline.delete_kubernetes_cluster \
--arg 'project_id=<string>' \
--arg 'zone=<string>' \
--arg 'cluster_name=<string>'

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = gcp.pipeline.delete_kubernetes_cluster
args = {
project_id = <string>
zone = <string>
cluster_name = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
credstringYesThe GCP application credentials file path.default
project_idstringYesThe GCP project ID.-
zonestringYesThe zone where the GKE cluster is located.-
cluster_namestringYesThe name of the GKE cluster to delete.-

Outputs

NameDescription
gke_cluster_deletion_infoInformation about the deleted GKE cluster.