library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

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
credstringYesThe GCP application credentials file path.default
project_idstringYesThe GCP project ID.-
regionstringYesThe GCP region.-
subnet_namestringYesThe name of the subnet.-
enable_flow_logsboolNoEnable flow logs for the subnet.-
logging_aggregation_intervalstringNoThe aggregation interval for logging.-
logging_flow_samplingnumberNoThe flow sampling rate for logging.-
logging_metadatastringNoThe metadata for logging.-

Outputs

NameDescription
subnet_infoInformation about the updated subnet.