Hi georgios,
This is the error msg i get:
coder@07dd16ab67e3:~/project/terraform$ terraform output vector_db_master_username
terraform output vector_db_master_password
“postgres”
╷
│ Error: Output “vector_db_master_password” not found
│
│ The output variable requested could not be found in the state file. If you recently added this to your configuration, be sure to run terraform apply
, since the state won’t be updated with new output variables until that command is run.
Prior to that I deleted the terraform folder of the lab, and then pressed question mark and update, Reboot, and ran all of the steps again… and here are the errors i am getting mostly that the connection already exists…
Step 1.11 of tutorial notifications:
1.11
╷
│ Error: creating Glue Catalog Database (de-c1w4-ml-db): operation error Glue: CreateDatabase, https response error StatusCode: 400, RequestID: cabdc80d-4e35-4c50-9f57-96487cbbaefd, 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: c59d11e2-87c7-4e42-9b88-3feb966d4294, 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: a1d36d61-a543-466f-828a-85771c9b6f1e, 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” {
Step 2.4 of Tutorial notifications:
2.4
module.etl.aws_glue_connection.rds_connection: Creating…
module.etl.aws_glue_catalog_database.ml_database: Creating…
module.etl.aws_iam_role.glue_role: Creating…
╷
│ Error: creating Glue Catalog Database (de-c1w4-ml-db): operation error Glue: CreateDatabase, https response error StatusCode: 400, RequestID: 51d7483b-8508-4f53-8214-ee4a27791718, 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: a4cc50ca-1043-4067-9f8e-356f62497821, 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: 244ec85b-60c4-41b5-81db-b9eb73b35c4a, 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” {