library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

Pipeline: Create VPC Subnet

This pipeline define a subnetwork for a network in custom subnet mode. Subnets must be uniquely named per region.

Run the pipeline

To run this pipeline from your terminal:

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

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = gcp.pipeline.create_vpc_subnet
args = {
project_id = <string>
network_name = <string>
subnet_name = <string>
region = <string>
range = <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.-
network_name
string
YesThe name of the existing VPC network.-
subnet_name
string
YesThe name of the subnet to create.-
region
string
YesThe GCP region for the subnet.-
range
string
YesThe GCP region for the subnet.-

Outputs

NameDescription
subnetInformation about the created subnet.