This template allows HTTP traffic from specified source IP addresses using a stateful rule group in AWS Network Firewall.

Terraform Template

resource "aws_networkfirewall_rule_group" "example" {
  capacity = 50
  description = "Permits http traffic from source"
  name = "example"

  tags = {
    Name = "permit HTTP from source"
  }
  type = "STATEFUL"
}