library
turbot/gcp
Get Involved
Version
Pipeline: Update VPC Firewall Rule
This pipeline updates a Google Compute Engine VPC firewall rule with optional parameters.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run gcp.pipeline.update_vpc_firewall_rule \ --arg 'project_id=<string>' \ --arg 'firewall_rule_name=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = gcp.pipeline.update_vpc_firewall_rule args = { project_id = <string> firewall_rule_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. | - |
firewall_rule_name | string | Yes | The name of the firewall rule. | - |
allow | list(string) | No | The list of protocols and ports to allow. | - |
source_ranges | list(string) | No | The list of source IP address ranges to allow. | - |
Outputs
Name | Description |
---|---|
firewall_rule_info | Information about the updated firewall rule. |