Hello, after the first run of terraform (extractor-jobs),
i keep getting connection already exists.
Is there a way to delete all my resources ( i tried reboot but it does not remove resources )
LOGS
Error: creating Glue Connection (de-c4w4a1-connection-rds): operation error Glue: CreateConnection, https response error StatusCode: 400, RequestID: 976f8b28-58ff-4411-a31c-474a62b5c06f, 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-c4w4a1-glue-role): operation error IAM: CreateRole, https response error StatusCode: 409, RequestID: 38231229-7cbb-45ab-adad-2701b9a81040, EntityAlreadyExists: Role with name de-c4w4a1-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 2, in resource “redshift_schema” “serving_schema”:
2: 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 12, in resource “redshift_schema” “transform_external_from_glue_data_catalog”:
12: resource “redshift_schema” “transform_external_from_glue_data_catalog” {