Skip to content

Commit

Permalink
Added scope_down_statement to flattened managed_rule_group_statement
Browse files Browse the repository at this point in the history
Co-authored-by: Jack Shubatt <shubydo777@gmail.com>
  • Loading branch information
2 people authored and YakDriver committed Jul 12, 2021
1 parent 65b43e6 commit 3bbbf30
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions aws/resource_aws_wafv2_web_acl.go
Original file line number Diff line number Diff line change
Expand Up @@ -838,6 +838,9 @@ func flattenWafv2ManagedRuleGroupStatement(r *wafv2.ManagedRuleGroupStatement) i
"scope_down_statement": nil,
}

if r.ScopeDownStatement != nil {
m["scope_down_statement"] = []interface{}{flattenWafv2Statement(r.ScopeDownStatement)}
}
return []interface{}{m}
}

Expand Down

0 comments on commit 3bbbf30

Please sign in to comment.