# \#c1w4 Cannot Create RDS Vector DB

**URL:** <https://community.deeplearning.ai/t/c1w4-cannot-create-rds-vector-db/748799>\
**Category:** Introduction to Data Engineering\
**Tags:** week-module-4, coursera-platform\
**Created:** [January 9, 2025, 5:09am UTC](https://community.deeplearning.ai/t/c1w4-cannot-create-rds-vector-db/748799 "2025-01-09T05:09:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![michaelkawaicheung](https://avatars.discourse-cdn.com/v4/letter/m/a9adbd/32.png) [@michaelkawaicheung](https://community.deeplearning.ai/u/michaelkawaicheung)\
**Post date:** [January 9, 2025, 5:09am UTC](https://community.deeplearning.ai/t/c1w4-cannot-create-rds-vector-db/748799/1 "2025-01-09T05:09:38Z")

</div>

Hi All,

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

 ![image](https://global.discourse-cdn.com/dlai/original/3X/4/4/443239d13c910dd85d65467b7dc92e14d21a7fef.png)

---

<div class="post-metadata">

**Author:** ![nhatnguyen4](https://avatars.discourse-cdn.com/v4/letter/n/41988e/32.png) [@nhatnguyen4](https://community.deeplearning.ai/u/nhatnguyen4)\
**Post date:** [January 9, 2025, 8:16am UTC](https://community.deeplearning.ai/t/c1w4-cannot-create-rds-vector-db/748799/2 "2025-01-09T08:16:20Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![michaelkawaicheung](https://avatars.discourse-cdn.com/v4/letter/m/a9adbd/32.png) [@michaelkawaicheung](https://community.deeplearning.ai/u/michaelkawaicheung)\
**Post date:** [January 9, 2025, 8:19am UTC](https://community.deeplearning.ai/t/c1w4-cannot-create-rds-vector-db/748799/3 "2025-01-09T08:19:13Z")

</div>

![image](https://global.discourse-cdn.com/dlai/original/3X/1/b/1b61aabfdccf2cb41c36d2668a17b44d3ab52d96.png)

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