Data Engineering C1W4 final assignment

During the final step (generating recommendations) via Terraform, the following error was raised due to the PostgreSQL version of the vector database:

│ Error: updating RDS DB Instance (de-c1w4-vector-db): operation error RDS: ModifyDBInstance, https response error StatusCode: 400, RequestID: 788e991c-c629-4efa-83ba-b8e8b69d48b9, api error InvalidParameterCombination: Cannot upgrade postgres from 17.4 to 17.2

│ with module.vector_db.aws_db_instance.master_db,

│ on modules/vector-db/rds.tf line 37, in resource “aws_db_instance” “master_db”:

│ 37: resource “aws_db_instance” “master_db” {`

I searched for engine_version = “17.2” in the codebase, updated it to 17.4, and re-ran Terraform. This resolved the issue.