library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

Delete VPC Subnet

This pipeline deletes one or more Google Cloud subnetworks. Subnetworks can only be deleted when no other resources, such as VM instances, refer to them.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run gcp.pipeline.delete_vpc_subnet \
--arg 'project_id=<string>' \
--arg 'subnet_name=<string>' \
--arg 'region=<string>'

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = gcp.pipeline.delete_vpc_subnet
args = {
project_id = <string>
subnet_name = <string>
region = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
credstringYesThe GCP application credentials file path.default
project_idstringYesThe GCP project ID.-
subnet_namestringYesThe name of the subnet to delete.-
regionstringYesThe GCP region for the subnet.-

Outputs

This pipeline has no outputs.