C1w4 Data Engineering

C1W4 assignment - Issue while connecting to RDS vector DB.


│ Error: creating RDS DB Instance IAM Role Association (de-c1w4-vector-db,arn:aws:iam::137822821435:role/Cloud9-de-c1w4-rds-role): operation error RDS: AddRoleToDBInstance, https response error StatusCode: 400, RequestID: 4d20109c-e17d-480c-8917-25fed461a287, api error InvalidParameterValue: The engine PostgreSQL supports only one ARN associated with feature name s3Import.

│ with module.vector_db.aws_db_instance_role_association.rds_role_association,
│ on modules/vector-db/iam_roles.tf line 7, in resource “aws_db_instance_role_association” “rds_role_association”:
│ 7: resource “aws_db_instance_role_association” “rds_role_association” {

Hello @sahilnits
Unfortunately, I was not able to reproduce the problem. Can you please double check the following items?

  1. On step 2.4, the command terraform apply completes without raising an error.
  2. You have replaced the placeholder in the command for step 2.8. It should look like the following:
    psql --host=de-c1w4-vector-db.xxxxxxxx.us-east-1.rds.amazonaws.com --username=postgres --password --port=5432

If the issue persists, can you provide more details? Please, explain in which exact step you get the error you mentioned, and provide screenshots of the command you use and the error you get if possible.