HIGH
Source
Trivy
ID
AVD-AWS-0180

RDS Publicly Accessible

Ensures RDS instances and RDS Cluster instances are not launched into the public cloud.

Impact

Follow the appropriate remediation steps below to resolve the issue.

Remove the public endpoint from the RDS instance.

1
2
3
4
5
Resources:
  GoodExample:
    Type: AWS::RDS::DBInstance
    Properties:
      PubliclyAccessible: false

Remove the public endpoint from the RDS instance.

1
2
3
resource "aws_db_instance" "good_example" {
  publicly_accessible = false
}