Hi,
I want to add multiple rules in an aws_networkfirewall_rule_group. My plan seems to fail when I repeat the rule group block.
How would I add another rule in the below code:
resource “aws_networkfirewall_rule_group” “ingress_traffic” {
capacity = 1000
name = “euw1-ingress-egress-fwrg”
type = “STATEFUL”
rule_group {
rules_source {
stateful_rule {
action = "DROP"
header {
destination = "0.0.0.0/0"
destination_port = "ANY"
direction = "ANY"
protocol = "IP"
source = "0.0.0.0/0"
source_port = "ANY"
}
rule_option {
keyword = "sid:1"
}
}
}
}
tags = {
Tag1 = "euw1-ingress-egress-fwrg"
}
}