Free plan Signups are open now. The full audytx engine — Terraform and CloudFormation — is live. The Free plan is 100 scans a month and stays free — paid tiers arrive Nov 01, 2026 from $20/month for unlimited repositories. Try it on your own code.

VPC subnet automatically assigns public IPs on launch

AWS_VPC_005 MEDIUM Security

What it checks

VPC subnet automatically assigns public IPs on launch

Where it applies

Terraform: aws_subnet

CloudFormation: AWS::EC2::Subnet

How to fix it

  1. Set map_public_ip_on_launch = false. Instances that genuinely need a public IP should use an Elastic IP (aws_eip) or a NAT gateway for outbound access.

Frameworks

These mappings are advisory, not an attestation of compliance.

Vendor documentation

All rules