Skip to content

no-classic-resources

Explanation

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

Possible Impact

Classic resources are running in a shared environment with other customers

Suggested Resolution

Switch to VPC resources

Insecure Example

The following example will fail the aws-rds-no-classic-resources check.

resource "aws_db_security_group" "bad_example" {
  # ...
}

Secure Example

The following example will pass the aws-rds-no-classic-resources check.

resource "aws_security_group" "good_example" {
  # ...
}