library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

Pipeline: Update VPC Subnet

This pipeline updates a Google Compute Engine VPC subnet with optional parameters.

Run the pipeline

To run this pipeline from your terminal:

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

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = gcp.pipeline.update_vpc_subnet
args = {
project_id = <string>
region = <string>
subnet_name = <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.-
region
string
YesThe GCP region.-
subnet_name
string
YesThe name of the subnet.-
enable_flow_logs
bool
NoEnable flow logs for the subnet.-
logging_aggregation_interval
string
NoThe aggregation interval for logging.-
logging_flow_sampling
number
NoThe flow sampling rate for logging.-
logging_metadata
string
NoThe metadata for logging.-

Outputs

NameDescription
subnet_infoInformation about the updated subnet.