Company
Date Published
Author
Mary Cutrali
Word count
769
Language
English
Hacker News points
None

Summary

The Terraform AWS provider has added support for the newly released AWS Network Firewall service, which provides essential network protections for Amazon Virtual Private Clouds (VPCs) with just a few clicks and scales automatically. The service allows fine-grained control over network traffic through its flexible rules engine, enabling users to define firewall rules that block malicious activity and integrate with managed intelligence feeds sourced by AWS partners. To use this feature in the Terraform AWS provider, users need to employ three new resources: `aws_networkfirewall_firewall_policy`, `aws_networkfirewall_firewall`, and `aws_networkfirewall_rule_group`, along with additional attributes to existing resources. A sample Terraform configuration is provided to demonstrate how to configure an AWS Network Firewall VPC, firewall policy, and firewall rule group. The feature can be used in conjunction with AWS Firewall Manager to build policies based on AWS Network Firewall rules and centrally apply them across VPCs and accounts.