library
turbot/gcp
- Add IAM Policy Binding to KMS Key
- Add Labels to Compute Disk
- Add Labels to Compute Image
- Add Labels to Compute Instance
- Add or Update Labels on Compute Snapshot
- Add or Update Labels on Dataproc Cluster
- Add Labels to DNS Managed Zone
- Update Labels on Pub/Sub Subscription
- Add Labels to Pub/Sub Topic
- Add Labels to SQL Instance
- Update Labels on Storage Bucket
- Add Metadata to Instance
- Add Metadata to Compute Project Info
- Attach Compute Disk to Instance
- Clone Cloud SQL Instance
- Create API Key
- Create Compute Disk
- Create Compute Instance
- Create Compute Engine Snapshot
- Create Logging Metric
- Create Logging Sink
- Create Monitoring Policy
- Create Pub/Sub Subscriptions
- Create Pub/Sub Topics
- Create Cloud SQL Instance
- Create Storage Buckets
- Create VPC Firewall Rule
- Create VPC
- Create VPC Subnet
- Delete Access Config from Instance
- Delete All Objects and Storage Bucket
- Delete AlloyDB Cluster
- Delete AlloyDB Instance
- Delete API Key
- Delete Compute Address
- Delete Compute Disk
- Delete Compute Instance
- Delete Compute Engine Snapshot
- Delete Dataproc Cluster
- Delete GKE Cluster
- Delete Pub/Sub Subscriptions
- Delete Pub/Sub Topics
- Delete Redis Instance
- Delete Service Account Key
- Delete Cloud SQL Instance
- Delete Storage Buckets
- Delete VPC Firewall Rule
- Delete VPC Network
- Delete VPC Subnet
- Delete VPN Gateway
- Detach Compute Disk from Instance
- Enable Cloud Service
- Get Compute Instance Details
- List Compute Disks
- List Pub/Sub Topics
- List Storage Buckets
- Remove all Labels from Compute Disk
- Remove IAM Policy Binding from KMS Key
- Remove Labels from Compute Instance
- Remove Labels from Dataproc Cluster
- Remove Labels from DNS Managed Zone
- Remove Labels from SQL Instance
- Remove Labels from Storage Bucket
- Remove Metadata from Instance
- Remove Specific Label from Compute Disk
- Remove Specific Label from Compute Image
- Remove Specific Label from Compute Instance
- Remove Labels from Compute Snapshot
- Remove Labels from Pub/Sub Subscription
- Remove Labels from Pub/Sub Topic
- Set Machine Type
- Set Service Account for Instance
- Start Compute Instance
- Stop Compute Instance
- Stop SQL Instance
- Manage Pub/Sub topic
- Update Access Approval Settings
- Update API Key
- Update Compute Backend Service
- Update Compute Disk
- Update Compute Instance
- Update Compute Node Group
- Update DNS Managed Zone
- Update KMS Key
- Update Logging Bucket
- Update Pub/Sub Subscriptions
- Update Pub/Sub Topics
- Update SQL Instance
- Update Storage Bucket
- Update VPC Firewall Rule
- Update VPC Subnet
Get Involved
Version
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 |
---|---|---|---|---|
cred | string | Yes | The GCP application credentials file path. | 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. |