library
turbot/gcp
Get Involved
Version
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
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. | - |
region | string | Yes | The GCP region. | - |
subnet_name | string | Yes | The name of the subnet. | - |
enable_flow_logs | bool | No | Enable flow logs for the subnet. | - |
logging_aggregation_interval | string | No | The aggregation interval for logging. | - |
logging_flow_sampling | number | No | The flow sampling rate for logging. | - |
logging_metadata | string | No | The metadata for logging. | - |
Outputs
Name | Description |
---|---|
subnet_info | Information about the updated subnet. |