InfraScan Cloud

Repository scan

tdr-terraform-environments

nationalarchives/tdr-terraform-environments · branch main · scanned 25 Jun 2026 · 128 resources

COverall
DSecurity
–Reliability · N/A
BCost
51findings · 0 critical, 1 high
$3.65–$50.00estimated savings per month, from the code

High 1

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

Medium 48

Medium Ensure every security group and rule has a description Security · 7 places
Medium Ensure that CloudWatch Log Group is encrypted by KMS Security · 5 places
Medium Ensure no security groups allow egress from 0.0.0.0:0 to port -1 Security · 5 places
Medium Ensure CloudWatch log groups retains logs for at least 1 year Security · 4 places
Medium Ensure that all EIP addresses allocated to a VPC are attached to EC2 instances Security · 2 places

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

Documentation

Where

Medium Ensure that Security Groups are attached to another resource Security · 2 places

Ensure that Security Groups are attached to another resource

Documentation

Where

Medium Ensure Secrets Manager secrets should have automatic rotation enabled Security · 2 places

Ensure Secrets Manager secrets should have automatic rotation enabled

Documentation

Where

Medium Ensure VPC subnets do not assign public IP by default Security · 2 places

Ensure VPC subnets do not assign public IP by default

Documentation

Where

Medium Ensure SSM parameters are using KMS CMK Security · 2 places
Medium Ensure container insights are enabled on ECS cluster Security · 2 places

Ensure container insights are enabled on ECS cluster

Documentation

Where

Medium Ensure AWS ElastiCache Redis cluster with Multi-AZ Automatic Failover feature set to enabled Reliability · 1 place

Ensure AWS ElastiCache Redis cluster with Multi-AZ Automatic Failover feature set to enabled

Documentation

Where

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

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 · 1 place

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

Documentation

Where

Medium Ensure that VPC Endpoint Service is configured for Manual Acceptance Security · 1 place

Ensure that VPC Endpoint Service is configured for Manual Acceptance

Documentation

Where

Medium Ensure that Load Balancer has deletion protection enabled Reliability · 1 place

Ensure that Load Balancer has deletion protection enabled

Documentation

Where

Medium Ensure that Load Balancer (Network/Gateway) has cross-zone load balancing enabled Reliability · 1 place

Ensure that Load Balancer (Network/Gateway) has cross-zone load balancing enabled

Documentation

Where

Medium Check encryption settings for Lambda environmental variable Security · 1 place

Check encryption settings for Lambda environmental variable

Documentation

Where

Medium Ensure ElastiCache replication group is encrypted by KMS using a customer managed Key (CMK) Security · 1 place

Ensure ElastiCache replication group is encrypted by KMS using a customer managed Key (CMK)

Documentation

Where

Medium Ensure AWS Lambda function is configured to validate code-signing Security · 1 place

Ensure AWS Lambda function is configured to validate code-signing

Documentation

Where

Medium Ensure all data stored in the ElastiCache Replication Group is securely encrypted at transit and has auth token Security · 1 place

Ensure all data stored in the ElastiCache Replication Group is securely encrypted at transit and has auth token

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 X-Ray tracing is enabled for Lambda Security · 1 place

X-Ray tracing is enabled for Lambda

Documentation

Where

Medium Ensure the ELBv2 (Application/Network) has access logging enabled Security · 1 place

Ensure the ELBv2 (Application/Network) has access logging enabled

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

Medium Load Balancer for Single Instance Cost · 1 place

Load balancer detected. Verify it's needed - load balancers cost $15-20/month even if unused.

How to fix

Consider if load balancer is necessary for single-instance deployments or low-traffic applications.

Where

Low 2

Low Unassociated Elastic IP Cost · 1 place

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

Low 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

Grades use InfraScan Cloud's current formula, so they can differ from the ones first shown for this scan. Findings reflect the repository on 25 Jun 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.