library
turbot/gcp
Get Involved
Version
Pipeline: 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
Name | Type | Required | Description | Default |
---|---|---|---|---|
conn | connection.gcp | Yes | Name of GCP connection to use. If not provided, the default GCP connection will be used. | connection.gcp.default |
project_id | string | Yes | The GCP project ID. | - |
zone | string | Yes | The zone where the GKE cluster is located. | - |
cluster_name | string | Yes | The name of the GKE cluster to delete. | - |
Outputs
Name | Description |
---|---|
gke_cluster_deletion_info | Information about the deleted GKE cluster. |