library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

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

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.-
firewall_rule_name
string
YesThe name of the firewall rule.-
allow
list(string)
NoThe list of protocols and ports to allow.-
source_ranges
list(string)
NoThe list of source IP address ranges to allow.-

Outputs

NameDescription
firewall_rule_infoInformation about the updated firewall rule.