Skip to main content
版本:v1.4

Gcp-Firewall-Rules

描述

Terraform module for creating Firewall rules on Google Cloud

参数说明

属性

名称描述类型是否必须默认值
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

名称描述类型是否必须默认值
nameThe secret name which the cloud resource connection will be written tostringtrue
namespaceThe secret namespace which the cloud resource connection will be written tostringfalse