You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"google_app_engine_firewall_rule" {
source="./modules/google-beta/r/google_app_engine_firewall_rule"# action - (required) is a type of stringaction=null# description - (optional) is a type of stringdescription=null# priority - (optional) is a type of numberpriority=null# project - (optional) is a type of stringproject=null# source_range - (required) is a type of stringsource_range=nulltimeouts=[{
create =null
delete =null
update =null
}]
}
variable"action" {
description="(required) - The action to take if this rule matches. Possible values: [\"UNSPECIFIED_ACTION\", \"ALLOW\", \"DENY\"]"type=string
}
variable"description" {
description="(optional) - An optional string description of this rule."type=stringdefault=null
}
variable"priority" {
description="(optional) - A positive integer that defines the order of rule evaluation.\nRules with the lowest priority are evaluated first.\n\nA default rule at priority Int32.MaxValue matches all IPv4 and\nIPv6 traffic when no previous rule matches. Only the action of\nthis rule can be modified by the user."type=numberdefault=null
}
variable"project" {
description="(optional)"type=stringdefault=null
}
variable"source_range" {
description="(required) - IP address or range, defined using CIDR notation, of requests that this rule applies to."type=string
}
variable"timeouts" {
description="nested block: NestingSingle, min items: 0, max items: 0"type=set(object(
{
create =string
delete =string
update =string
}
))
default=[]
}
resource"google_app_engine_firewall_rule""this" {
# action - (required) is a type of stringaction=var.action# description - (optional) is a type of stringdescription=var.description# priority - (optional) is a type of numberpriority=var.priority# project - (optional) is a type of stringproject=var.project# source_range - (required) is a type of stringsource_range=var.source_rangedynamic"timeouts" {
for_each=var.timeoutscontent {
# create - (optional) is a type of stringcreate=timeouts.value["create"]
# delete - (optional) is a type of stringdelete=timeouts.value["delete"]
# update - (optional) is a type of stringupdate=timeouts.value["update"]
}
}
}