Skip to main content
Version: v1.8

Gcp-Firewall-Rules

Description

Terraform module for creating Firewall rules on Google Cloud

Specification

Properties

NameDescriptionTypeRequiredDefault
nameName of the Firewall ruletrue
networkThe name or self_link of the network to attach this firewall totrue
portsList of ports and/or port ranges to allow. This can only be specified if the protocol is TCP or UDPlisttrue
protocolThe name of the protocol to allow. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, sctp), or the IP protocol number, or alltrue
source_rangesA list of source CIDR ranges that this firewall applies to. Can't be used for EGRESSlisttrue
target_tagsA list of target tags for this firewalllisttrue
writeConnectionSecretToRefThe secret which the cloud resource connection will be written towriteConnectionSecretToReffalse

writeConnectionSecretToRef

NameDescriptionTypeRequiredDefault
nameThe secret name which the cloud resource connection will be written tostringtrue
namespaceThe secret namespace which the cloud resource connection will be written tostringfalse