Skip to content

Commit 112c566

Browse files
authored
fix: Syntax to search for 'rule_label' value name
2 parents b9614c0 + e08cc2c commit 112c566

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/rule-group/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ resource "aws_wafv2_rule_group" "this" {
3636
dynamic "rule_label" {
3737
for_each = lookup(rule.value, "rule_label", null) == null ? [] : [lookup(rule.value, "rule_label")]
3838
content {
39-
name = lookup(rule.value, "rule_label")
39+
name = lookup(rule_label.value, "name")
4040
}
4141
}
4242

0 commit comments

Comments
 (0)