Skip to content

ReachFive/terraform-gcp-firewall-rules

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

No requirements.

Providers

Name Version
google n/a

Modules

No modules.

Resources

Name Type
google_compute_firewall.allow-fromall resource
google_compute_firewall.allow-remotevpc resource
google_compute_firewall.allow-sourcetag resource
google_compute_firewall.allow_fw resource

Inputs

Name Description Type Default Required
description A description of this resource string "Creates firewall rule for target instances by Terraform" no
network The name or self_link of the network to attach this firewall to string "default" no
ports n/a list(number) [] no
project The name of the remote project string "tcp" no
protocol The name of the protocol to allow string "tcp" no
remote_vpcs A list of remote vpcs. list(string) [] no
rule-name Name of the Firewall rule string n/a yes
rules The list of ALLOW rules specified by this firewall. Each rule specifies a protocol and port-range tuple that describes a permitted connection
list(object({
protocol = string
ports = list(string)
}))
n/a yes
source_ranges A list of source CIDR range to apply this rule. list(string) [] no
source_tags A list of source tags for this firewall list(string) [] no
target_tags A list of target tags for this firewall list(string) [] no

Outputs

No outputs.

About

Terraform module for creating Firewall rules on Google Cloud Plataform

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HCL 100.0%