#c1w4 Cannot Create RDS Vector DB

Hi All,

I am working on 2.4 and encountered the following. Does anyone know how to solve it? Thanks!

i had the same issue and i’ve fixed it.
run this command to check which postgreSQL version are availible in your region: aws rds describe-db-engine-versions --engine postgres --query “DBEngineVersions.EngineVersion”

then go to terraform/module/vertor-db/rds.tf
find the following:
resource “aws_db_instance” “master_db” {
identifier = “${var.project}-vector-db”
allocated_storage = 20
max_allocated_storage = 0
storage_type = “gp2”
engine = “postgres”
engine_version = “valid-version” ← Updated to a valid version
port = 5432
instance_class = “db.t3.micro”
db_name = “postgres”
username = var.master_username
password = random_id.master_password.id
publicly_accessible = true
skip_final_snapshot = true
db_subnet_group_name = aws_db_subnet_group.vector_db_subnet_group.id
vpc_security_group_ids = [
aws_security_group.vector_db_sg.id
]
}
hope it help

1 Like

I went to the AWS console and tried 16.3, it’s working now. The team might have to update the tf code thanks! :blush:

2 Likes