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"aws_wafregional_rule_group" {
source="./modules/aws/r/aws_wafregional_rule_group"# metric_name - (required) is a type of stringmetric_name=null# name - (required) is a type of stringname=null# tags - (optional) is a type of map of stringtags={}
activated_rule=[{
action = [{
type =null
}]
priority =null
rule_id =null
type =null
}]
}
resource"aws_wafregional_rule_group""this" {
# metric_name - (required) is a type of stringmetric_name=var.metric_name# name - (required) is a type of stringname=var.name# tags - (optional) is a type of map of stringtags=var.tagsdynamic"activated_rule" {
for_each=var.activated_rulecontent {
# priority - (required) is a type of numberpriority=activated_rule.value["priority"]
# rule_id - (required) is a type of stringrule_id=activated_rule.value["rule_id"]
# type - (optional) is a type of stringtype=activated_rule.value["type"]
dynamic"action" {
for_each=activated_rule.value.actioncontent {
# type - (required) is a type of stringtype=action.value["type"]
}
}
}
}
}