library
turbot/gcp
Get Involved
Version
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
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. | - |
subnet_name | string | Yes | The name of the subnet to delete. | - |
region | string | Yes | The GCP region for the subnet. | - |
Outputs
This pipeline has no outputs.