InfraScan Cloud

Repository scan

terraform-aws-alternat

chime/terraform-aws-alternat · branch main · scanned 2 Mar 2026 · 40 resources

DOverall
DSecurity
–Reliability · N/A
CCost
43findings · 0 critical, 2 high
—no cost findings with a savings estimate

High 2

High Expensive NAT Gateway Cost · 1 place

NAT Gateways are expensive managed services. Ensure they are strictly necessary.

How to fix

Consider using VPC Endpoints, NAT Instances for non-critical workloads, or share a single NAT Gateway across multiple subnets.

Where

High Missing AWS Budget Cost · 1 place

No AWS budget configured. Budgets help monitor and control spending with alerts.

How to fix

Create AWS budgets with alerts for forecasted and actual costs to avoid unexpected charges.

Where

Medium 36

Medium Ensure every security group and rule has a description Security · 8 places
Medium Ensure that all EIP addresses allocated to a VPC are attached to EC2 instances Security · 5 places

Ensure that all EIP addresses allocated to a VPC are attached to EC2 instances

Documentation

Where

Medium Ensure no security groups allow egress from 0.0.0.0:0 to port -1 Security · 3 places

Ensure no security groups allow egress from 0.0.0.0:0 to port -1

Documentation

Where

Medium Ensure that AWS Lambda function is configured for function-level concurrent execution limit Security · 2 places

Ensure that AWS Lambda function is configured for function-level concurrent execution limit

Documentation

Where

Medium Ensure that AWS Lambda function is configured for a Dead Letter Queue(DLQ) Security · 2 places

Ensure that AWS Lambda function is configured for a Dead Letter Queue(DLQ)

Documentation

Where

Medium Check encryption settings for Lambda environmental variable Security · 2 places

Check encryption settings for Lambda environmental variable

Documentation

Where

Medium Ensure AWS Lambda function is configured to validate code-signing Security · 2 places

Ensure AWS Lambda function is configured to validate code-signing

Documentation

Where

Medium X-Ray tracing is enabled for Lambda Security · 2 places

X-Ray tracing is enabled for Lambda

Documentation

Where

Medium Ensure Terraform module sources use a commit hash Security · 2 places

Ensure Terraform module sources use a commit hash

Documentation

Where

Medium Missing Spot Instance Usage Cost · 2 places

No spot instances detected. Spot instances can save 50-90% on compute costs for interruptible workloads.

How to fix

Use spot instances for batch jobs, data analysis, and optional tasks. Consider aws_spot_instance_request or spot_price in launch templates.

Where

Medium Ensure that Security Groups are attached to another resource Security · 1 place

Ensure that Security Groups are attached to another resource

Documentation

Where

Medium Ensure IAM policies does not allow write access without constraints Security · 1 place

Ensure IAM policies does not allow write access without constraints

Documentation

Where

Medium Ensure that AWS Lambda function is configured inside a VPC Security · 1 place

Ensure that AWS Lambda function is configured inside a VPC

Documentation

Where

Medium Ensure no IAM policies documents allow "*" as a statement's resource for restrictable actions Security · 1 place

Ensure no IAM policies documents allow "*" as a statement's resource for restrictable actions

Documentation

Where

Medium EC2 instance should not have public IP. Security · 1 place

EC2 instance should not have public IP.

Documentation

Where

Medium Missing Cost and Usage Report Cost · 1 place

No AWS Cost and Usage Report (CUR) configured. CUR provides detailed cost tracking and analysis.

How to fix

Enable AWS Cost and Usage Reports to track spending patterns and identify optimization opportunities.

Where

Low 5

Low Elastic IP Usage Cost · 5 places

Elastic IPs are charged if not attached to a running instance or if you have more than one per instance.

How to fix

Release unattached Elastic IPs.

Where

Grades use InfraScan Cloud's current formula, so they can differ from the ones first shown for this scan. Findings reflect the repository on 2 Mar 2026; it may have changed since.

Scan your own repository

InfraScan Cloud scans your repositories and AWS accounts, keeps the history and shows how to fix each finding.