Having gone past this - I was seeing a Glue job error in 2.4
I fixed it and in trying to rerun - I saw terminal hang. Reconnect Now. Stuck for ever.
cd terraform;
terraform apply -no-color 2> errors.txt;
terraform init;
terraform plan;
terraform apply -target=module.extract_job;
terraform apply -target=module.transform_job;
terraform apply -target=module.serving;
terraform apply -no-color 2> errors.txt; was used subsequently
but still Window pops up saying “reconnecting”. This is annoying. It happens too often.
LAB ID: qaaasbueolvj
How do I unblock myself?
Error: creating Glue Connection (de-c4w4a2-connection-rds): operation error Glue: CreateConnection, https response error StatusCode: 400, RequestID: 5d57a9e0-d2ad-4d27-a4c9-ea17840012d5, AlreadyExistsException: Connection already exists.
with module.extract_job.aws_glue_connection.rds_connection,
on modules/extract_job/glue.tf line 2, in resource “aws_glue_connection” “rds_connection”:
2: resource “aws_glue_connection” “rds_connection” {
Error: creating IAM Role (de-c4w4a2-glue-role): operation error IAM: CreateRole, https response error StatusCode: 409, RequestID: a9062d83-d117-49f7-a960-e134682df284, EntityAlreadyExists: Role with name de-c4w4a2-glue-role already exists.
with module.extract_job.aws_iam_role.glue_role,
on modules/extract_job/iam.tf line 1, in resource “aws_iam_role” “glue_role”:
1: resource “aws_iam_role” “glue_role” {
Error: pq: Schema “deftunes_serving” already exists
with module.serving.redshift_schema.serving_schema,
on modules/serving/redshift.tf line 1, in resource “redshift_schema” “serving_schema”:
1: resource “redshift_schema” “serving_schema” {
Error: pq: Schema “deftunes_transform” already exists
with module.serving.redshift_schema.transform_external_from_glue_data_catalog,
on modules/serving/redshift.tf line 9, in resource “redshift_schema” “transform_external_from_glue_data_catalog”:
9: resource “redshift_schema” “transform_external_from_glue_data_catalog” {