library
turbot/gcp
Get Involved
Version
Pipeline: Create VPC
This pipeline is used to create virtual networks.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run gcp.pipeline.create_vpc_network \ --arg 'project_id=<string>' \ --arg 'subnet_mode=<string>' \ --arg 'network_name=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = gcp.pipeline.create_vpc_network args = { project_id = <string> subnet_mode = <string> network_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. | - |
subnet_mode | string | Yes | The subnet mode for the VPC network. | - |
network_name | string | Yes | The name of the VPC network. | - |
Outputs
Name | Description |
---|---|
network | Information about the created VPC network. |