C1W4 Assignment Vector DB Terraform Apply Issue

This issue is for Course 1, Week 4 Assignment 3.

I have successfully completed the first part of this lab, however when running terraform to setup the Vector DB, I get the following error with terraform apply

module.etl.aws_glue_catalog_database.ml_database: Creating… module.etl.aws_iam_role.glue_role: Creating… module.etl.aws_glue_connection.rds_connection: Creating… ╷ │ Error: creating Glue Catalog Database (de-c1w4-ml-db): operation error Glue: CreateDatabase, https response error StatusCode: 400, RequestID: 71d9153a-aa03-4c47-a3a1-ec0deed2861c, AlreadyExistsException: Database already exists. │ │ with module.etl.aws_glue_catalog_database.ml_database, │ on modules/etl/glue.tf line 1, in resource “aws_glue_catalog_database” “ml_database”: │ 1: resource “aws_glue_catalog_database” “ml_database” { │ ╵ ╷ │ Error: creating Glue Connection (de-c1w4-rds-connection): operation error Glue: CreateConnection, https response error StatusCode: 400, RequestID: 58a0fd72-095a-4cf4-a6af-68a6017b5c44, AlreadyExistsException: Connection already exists. │ │ with module.etl.aws_glue_connection.rds_connection, │ on modules/etl/glue.tf line 6, in resource “aws_glue_connection” “rds_connection”: │ 6: resource “aws_glue_connection” “rds_connection” { │ ╵ ╷ │ Error: creating IAM Role (de-c1w4-glue-role): operation error IAM: CreateRole, https response error StatusCode: 409, RequestID: 57058f85-baab-42ca-bb3c-b2216b61e5a5, EntityAlreadyExists: Role with name de-c1w4-glue-role already exists. │ │ with module.etl.aws_iam_role.glue_role, │ on modules/etl/iam_roles.tf line 1, in resource “aws_iam_role” “glue_role”: │ 1: resource “aws_iam_role” “glue_role” { │ ╵

It notes that resources already exist, but I’m not sure how to reset these or import these resources successfully.

Thanks!