CRITICAL
Source
Trivy
ID
AVD-AWS-0081

AWS Classic resource usage.

AWS Classic resources run in a shared environment with infrastructure owned by other AWS customers. You should run resources in a VPC instead.

Impact

Classic resources are running in a shared environment with other customers

Follow the appropriate remediation steps below to resolve the issue.

Switch to VPC resources

1
2
3
4
5
6
---
AWSTemplateFormatVersion: "2010-09-09"
Description: A sample template
AWSTemplateFormatVersion: 2010-09-09
Description: Good example of rds sgr
Resources:

Switch to VPC resources

1
2
3
resource "aws_security_group" "good_example" {
  # ...
}