Pattern: AWS Classic resource usage
Issue: -
AWS Classic resources run in a shared environment with infrastructure owned by other AWS customers. You should run resources in a VPC instead.
Resolution: Switch to VPC resources.
Example of incorrect code:
resource "aws_db_security_group" "bad_example" {
# ...
}
Example of correct code:
resource "aws_security_group" "good_example" {
# ...
}