library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

Pipeline: 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
conn
connection.gcp
YesName of GCP connection to use. If not provided, the default GCP connection will be used.connection.gcp.default
project_id
string
YesThe GCP project ID.-
subnet_name
string
YesThe name of the subnet to delete.-
region
string
YesThe GCP region for the subnet.-

Outputs

This pipeline has no outputs.