I’m trying to follow the QuickStart for AWS. My iglu stuff deployed successfully. When it comes to the pipeline, I’m getting a ton of duplicate resource errors. It appears that resources are being created in AWS, but on a single, fresh run, I’m getting these errors and I never see a success message (or the collector_dns_name) from the terraform script.
Here’s how I’m running the script:
AWS_PROFILE=my_aws_profile terraform plan -var-file=snowflake.terraform.tfvars
Here’s the last of the output showing the resources which have been created and the cavalcade of errors:
module.transformer_enriched[0].module.telemetry[0].random_id.auto_generated_id: Creating...
module.s3_loader_bad.module.telemetry[0].random_id.auto_generated_id: Creating...
module.enrich_kinesis.module.telemetry[0].random_id.auto_generated_id: Creating...
module.collector_kinesis.module.telemetry[0].random_id.auto_generated_id: Creating...
module.s3_loader_raw.module.telemetry[0].random_id.auto_generated_id: Creating...
module.s3_loader_enriched.module.telemetry[0].random_id.auto_generated_id: Creating...
module.snowflake_loader[0].module.telemetry[0].random_id.auto_generated_id: Creating...
module.s3_loader_raw.module.telemetry[0].random_id.auto_generated_id: Creation complete after 0s [id=3W1a82cG1dtYISm-5OxDLQ]
module.s3_loader_enriched.module.telemetry[0].random_id.auto_generated_id: Creation complete after 0s [id=vZN7znK3QbmFVr_FE9NDcw]
module.collector_kinesis.module.telemetry[0].random_id.auto_generated_id: Creation complete after 0s [id=YQUhz-BB6oAXWdE0Ac0UbA]
module.s3_loader_bad.module.telemetry[0].random_id.auto_generated_id: Creation complete after 0s [id=tfvI66QVx8nRK8pagHD1OQ]
module.enrich_kinesis.module.telemetry[0].random_id.auto_generated_id: Creation complete after 0s [id=gUga1iIAI5SO3xVycPlNtA]
module.snowflake_loader[0].module.telemetry[0].random_id.auto_generated_id: Creation complete after 0s [id=fYxalU-5pEKnPqeO2_Bb2g]
module.transformer_enriched[0].module.telemetry[0].random_id.auto_generated_id: Creation complete after 0s [id=ERwZYVaqsduFn100Hwfalg]
module.transformer_enriched[0].aws_cloudwatch_log_group.log_group[0]: Creating...
module.snowflake_loader[0].aws_iam_role.iam_role: Creating...
module.snowflake_loader[0].aws_security_group.sg: Creating...
module.transformer_enriched[0].aws_security_group.sg: Creating...
module.transformer_enriched[0].aws_iam_role.iam_role: Creating...
module.transformer_enriched[0].aws_dynamodb_table.kcl: Creating...
module.snowflake_loader[0].aws_cloudwatch_log_group.log_group[0]: Creating...
module.s3_loader_bad.aws_security_group.sg: Creating...
module.bad_2_stream.aws_kinesis_stream.stream: Creating...
module.s3_pipeline_bucket[0].aws_s3_bucket.default: Creating...
module.s3_loader_enriched.aws_security_group.sg: Creating...
module.raw_stream.aws_kinesis_stream.stream: Creating...
aws_sqs_queue.message_queue[0]: Creating...
module.enrich_kinesis.aws_cloudwatch_log_group.log_group[0]: Creating...
module.s3_loader_raw.aws_cloudwatch_log_group.log_group[0]: Creating...
module.collector_kinesis.aws_iam_role.iam_role: Creating...
module.collector_lb.aws_lb_target_group.lb_tg_http: Creating...
module.s3_loader_enriched.aws_dynamodb_table.kcl: Creating...
module.transformer_enriched[0].aws_cloudwatch_log_group.log_group[0]: Creation complete after 1s [id=/aws/ec2/sp-transformer-kinesis-enriched-server]
aws_key_pair.pipeline: Creating...
module.snowflake_loader[0].aws_cloudwatch_log_group.log_group[0]: Creation complete after 1s [id=/aws/ec2/sp-snowflake-loader-server]
module.s3_loader_raw.aws_security_group.sg: Creating...
aws_sqs_queue.message_queue[0]: Creation complete after 2s [id=https://sqs.us-east-1.amazonaws.com/478156707454/sp-sf-loader.fifo]
module.enrich_kinesis.aws_security_group.sg: Creating...
module.s3_loader_raw.aws_dynamodb_table.kcl: Creating...
module.collector_kinesis.aws_cloudwatch_log_group.log_group[0]: Creating...
module.enrich_kinesis.aws_cloudwatch_log_group.log_group[0]: Creation complete after 2s [id=/aws/ec2/sp-enrich-server]
module.collector_lb.aws_security_group.lb_sg: Creating...
module.s3_loader_raw.aws_cloudwatch_log_group.log_group[0]: Creation complete after 2s [id=/aws/ec2/sp-s3-loader-raw-server]
module.s3_loader_raw.aws_iam_role.iam_role: Creating...
module.s3_loader_enriched.aws_cloudwatch_log_group.log_group[0]: Creating...
module.collector_kinesis.aws_security_group.sg: Creating...
module.enrich_kinesis.aws_dynamodb_table.kcl: Creating...
module.enriched_stream.aws_kinesis_stream.stream: Creating...
module.collector_kinesis.aws_cloudwatch_log_group.log_group[0]: Creation complete after 1s [id=/aws/ec2/sp-collector-server]
module.enrich_kinesis.aws_iam_role.iam_role: Creating...
module.collector_lb.aws_lb_target_group.lb_tg_http: Creation complete after 2s [id=arn:aws:elasticloadbalancing:us-east-1:478156707454:targetgroup/http-20230609154306509600000001/75ab786891cd921a]
module.s3_loader_bad.aws_dynamodb_table.kcl: Creating...
module.bad_1_stream.aws_kinesis_stream.stream: Creating...
module.s3_loader_enriched.aws_cloudwatch_log_group.log_group[0]: Creation complete after 2s [id=/aws/ec2/sp-s3-loader-enriched-server]
module.enrich_kinesis.aws_dynamodb_table.config: Creating...
module.s3_loader_enriched.aws_dynamodb_table.kcl: Creation complete after 6s [id=sp-s3-loader-enriched-server]
module.s3_loader_bad.aws_iam_role.iam_role: Creating...
module.s3_loader_bad.aws_cloudwatch_log_group.log_group[0]: Creating...
module.s3_loader_bad.aws_cloudwatch_log_group.log_group[0]: Creation complete after 1s [id=/aws/ec2/sp-s3-loader-bad-server]
module.s3_loader_enriched.aws_iam_role.iam_role: Creating...
module.snowflake_loader[0].aws_iam_policy.iam_policy: Creating...
module.s3_loader_bad.aws_dynamodb_table.kcl: Creation complete after 7s [id=sp-s3-loader-bad-server]
module.s3_loader_enriched.module.kcl_autoscaling.aws_appautoscaling_target.write_target: Creating...
module.transformer_enriched[0].aws_dynamodb_table.kcl: Still creating... [10s elapsed]
module.bad_2_stream.aws_kinesis_stream.stream: Still creating... [10s elapsed]
module.raw_stream.aws_kinesis_stream.stream: Still creating... [10s elapsed]
module.snowflake_loader[0].aws_iam_policy.iam_policy: Creation complete after 1s [id=arn:aws:iam::478156707454:policy/sp-snowflake-loader-server]
module.s3_loader_enriched.module.kcl_autoscaling.aws_appautoscaling_target.read_target: Creating...
module.s3_loader_enriched.module.kcl_autoscaling.aws_appautoscaling_target.write_target: Creation complete after 1s [id=table/sp-s3-loader-enriched-server]
module.collector_kinesis.module.telemetry[0].snowplow_track_self_describing_event.telemetry: Creating...
module.s3_loader_enriched.module.kcl_autoscaling.aws_appautoscaling_target.read_target: Creation complete after 1s [id=table/sp-s3-loader-enriched-server]
module.s3_loader_bad.module.telemetry[0].snowplow_track_self_describing_event.telemetry: Creating...
module.collector_kinesis.module.telemetry[0].snowplow_track_self_describing_event.telemetry: Creation complete after 0s [id=7f77237b-7653-47b4-8a6c-2e637333749a]
module.enrich_kinesis.module.telemetry[0].snowplow_track_self_describing_event.telemetry: Creating...
module.s3_loader_raw.aws_dynamodb_table.kcl: Still creating... [10s elapsed]
module.s3_loader_bad.module.telemetry[0].snowplow_track_self_describing_event.telemetry: Creation complete after 1s [id=d2752859-a731-4a02-8be4-bac61f1baadf]
module.s3_loader_raw.module.telemetry[0].snowplow_track_self_describing_event.telemetry: Creating...
module.enrich_kinesis.module.telemetry[0].snowplow_track_self_describing_event.telemetry: Creation complete after 1s [id=2f9057aa-77a2-44b8-8f5b-71e8f870c8da]
module.transformer_enriched[0].module.telemetry[0].snowplow_track_self_describing_event.telemetry: Creating...
module.s3_loader_raw.module.telemetry[0].snowplow_track_self_describing_event.telemetry: Creation complete after 0s [id=553af341-af70-4fb0-bf23-c75845454ce9]
module.s3_loader_enriched.module.telemetry[0].snowplow_track_self_describing_event.telemetry: Creating...
module.enrich_kinesis.aws_dynamodb_table.kcl: Still creating... [10s elapsed]
module.transformer_enriched[0].module.telemetry[0].snowplow_track_self_describing_event.telemetry: Creation complete after 0s [id=831e2d40-0de1-433a-a360-1f8cca6cd53d]
module.snowflake_loader[0].module.telemetry[0].snowplow_track_self_describing_event.telemetry: Creating...
module.enriched_stream.aws_kinesis_stream.stream: Still creating... [10s elapsed]
module.s3_loader_enriched.module.telemetry[0].snowplow_track_self_describing_event.telemetry: Creation complete after 1s [id=f7ea4d69-9e68-414b-95ce-c432fd91ca62]
module.s3_loader_enriched.module.kcl_autoscaling.aws_appautoscaling_policy.write_policy: Creating...
module.snowflake_loader[0].module.telemetry[0].snowplow_track_self_describing_event.telemetry: Creation complete after 1s [id=fca13481-8a93-43a6-9654-c54d5210f166]
module.s3_loader_enriched.module.kcl_autoscaling.aws_appautoscaling_policy.read_policy: Creating...
module.bad_1_stream.aws_kinesis_stream.stream: Still creating... [10s elapsed]
module.enrich_kinesis.aws_dynamodb_table.config: Still creating... [10s elapsed]
module.s3_loader_enriched.module.kcl_autoscaling.aws_appautoscaling_policy.write_policy: Creation complete after 1s [id=DynamoDBWriteCapacityUtilization:table/sp-s3-loader-enriched-server]
module.s3_loader_bad.module.kcl_autoscaling.aws_appautoscaling_target.write_target: Creating...
module.s3_loader_enriched.module.kcl_autoscaling.aws_appautoscaling_policy.read_policy: Creation complete after 1s [id=DynamoDBReadCapacityUtilization:table/sp-s3-loader-enriched-server]
module.s3_loader_bad.module.kcl_autoscaling.aws_appautoscaling_target.read_target: Creating...
module.s3_loader_bad.module.kcl_autoscaling.aws_appautoscaling_target.write_target: Creation complete after 0s [id=table/sp-s3-loader-bad-server]
module.s3_loader_bad.module.kcl_autoscaling.aws_appautoscaling_policy.write_policy: Creating...
module.s3_loader_bad.module.kcl_autoscaling.aws_appautoscaling_target.read_target: Creation complete after 1s [id=table/sp-s3-loader-bad-server]
module.s3_loader_bad.module.kcl_autoscaling.aws_appautoscaling_policy.read_policy: Creating...
module.transformer_enriched[0].aws_dynamodb_table.kcl: Creation complete after 15s [id=sp-transformer-kinesis-enriched-server]
module.transformer_enriched[0].module.kcl_autoscaling.aws_appautoscaling_target.read_target: Creating...
module.transformer_enriched[0].module.kcl_autoscaling.aws_appautoscaling_target.read_target: Creation complete after 1s [id=table/sp-transformer-kinesis-enriched-server]
module.s3_loader_bad.module.kcl_autoscaling.aws_appautoscaling_policy.write_policy: Creation complete after 1s [id=DynamoDBWriteCapacityUtilization:table/sp-s3-loader-bad-server]
module.transformer_enriched[0].module.kcl_autoscaling.aws_appautoscaling_target.write_target: Creating...
module.transformer_enriched[0].module.kcl_autoscaling.aws_appautoscaling_policy.read_policy: Creating...
module.s3_loader_bad.module.kcl_autoscaling.aws_appautoscaling_policy.read_policy: Creation complete after 1s [id=DynamoDBReadCapacityUtilization:table/sp-s3-loader-bad-server]
module.s3_loader_raw.aws_dynamodb_table.kcl: Creation complete after 14s [id=sp-s3-loader-raw-server]
module.s3_loader_raw.module.kcl_autoscaling.aws_appautoscaling_target.write_target: Creating...
module.s3_loader_raw.module.kcl_autoscaling.aws_appautoscaling_target.read_target: Creating...
module.enrich_kinesis.aws_dynamodb_table.kcl: Creation complete after 14s [id=sp-enrich-server]
module.enrich_kinesis.aws_dynamodb_table.config: Creation complete after 12s [id=sp-enrich-server-config]
module.enrich_kinesis.module.kcl_autoscaling.aws_appautoscaling_target.write_target: Creating...
module.enrich_kinesis.module.kcl_autoscaling.aws_appautoscaling_target.read_target: Creating...
module.transformer_enriched[0].module.kcl_autoscaling.aws_appautoscaling_target.write_target: Creation complete after 0s [id=table/sp-transformer-kinesis-enriched-server]
module.enrich_kinesis.aws_dynamodb_table_item.enrichment_event_fingerprint_config: Creating...
module.transformer_enriched[0].module.kcl_autoscaling.aws_appautoscaling_policy.read_policy: Creation complete after 1s [id=DynamoDBReadCapacityUtilization:table/sp-transformer-kinesis-enriched-server]
module.enrich_kinesis.aws_dynamodb_table_item.enrichment_yauaa_enrichment_config: Creating...
module.s3_loader_raw.module.kcl_autoscaling.aws_appautoscaling_target.read_target: Creation complete after 1s [id=table/sp-s3-loader-raw-server]
module.s3_loader_raw.module.kcl_autoscaling.aws_appautoscaling_target.write_target: Creation complete after 1s [id=table/sp-s3-loader-raw-server]
module.enrich_kinesis.aws_dynamodb_table_item.enrichment_referer_parser: Creating...
module.enrich_kinesis.aws_dynamodb_table_item.enrichment_campaign_attribution: Creating...
module.enrich_kinesis.module.kcl_autoscaling.aws_appautoscaling_target.read_target: Creation complete after 1s [id=table/sp-enrich-server]
module.enrich_kinesis.aws_dynamodb_table_item.enrichment_ua_parser_config: Creating...
module.enrich_kinesis.module.kcl_autoscaling.aws_appautoscaling_target.write_target: Creation complete after 1s [id=table/sp-enrich-server]
module.enrich_kinesis.aws_dynamodb_table_item.enrichment_event_fingerprint_config: Creation complete after 1s [id=sp-enrich-server-config|id||snowplow_enrichment_event_fingerprint_config|]
module.enrich_kinesis.aws_dynamodb_table_item.iglu_resolver: Creating...
module.transformer_enriched[0].module.kcl_autoscaling.aws_appautoscaling_policy.write_policy: Creating...
module.enrich_kinesis.aws_dynamodb_table_item.enrichment_yauaa_enrichment_config: Creation complete after 0s [id=sp-enrich-server-config|id||snowplow_enrichment_yauaa_enrichment_config|]
module.s3_loader_raw.module.kcl_autoscaling.aws_appautoscaling_policy.read_policy: Creating...
module.enrich_kinesis.aws_dynamodb_table_item.enrichment_campaign_attribution: Creation complete after 1s [id=sp-enrich-server-config|id||snowplow_enrichment_campaign_attribution|]
module.enrich_kinesis.aws_dynamodb_table_item.enrichment_referer_parser: Creation complete after 1s [id=sp-enrich-server-config|id||snowplow_enrichment_referer_parser|]
module.enrich_kinesis.module.config_autoscaling.aws_appautoscaling_target.write_target: Creating...
module.s3_loader_raw.module.kcl_autoscaling.aws_appautoscaling_policy.write_policy: Creating...
module.enrich_kinesis.aws_dynamodb_table_item.enrichment_ua_parser_config: Creation complete after 1s [id=sp-enrich-server-config|id||snowplow_enrichment_ua_parser_config|]
module.enrich_kinesis.module.config_autoscaling.aws_appautoscaling_target.read_target: Creating...
module.enrich_kinesis.aws_dynamodb_table_item.iglu_resolver: Creation complete after 1s [id=sp-enrich-server-config|id||snowplow_resolver|]
module.enrich_kinesis.module.kcl_autoscaling.aws_appautoscaling_policy.read_policy: Creating...
module.transformer_enriched[0].module.kcl_autoscaling.aws_appautoscaling_policy.write_policy: Creation complete after 1s [id=DynamoDBWriteCapacityUtilization:table/sp-transformer-kinesis-enriched-server]
module.enrich_kinesis.module.kcl_autoscaling.aws_appautoscaling_policy.write_policy: Creating...
module.enrich_kinesis.module.config_autoscaling.aws_appautoscaling_target.write_target: Creation complete after 0s [id=table/sp-enrich-server-config]
module.enrich_kinesis.module.config_autoscaling.aws_appautoscaling_target.read_target: Creation complete after 0s [id=table/sp-enrich-server-config]
module.s3_loader_raw.module.kcl_autoscaling.aws_appautoscaling_policy.read_policy: Creation complete after 1s [id=DynamoDBReadCapacityUtilization:table/sp-s3-loader-raw-server]
module.enrich_kinesis.module.config_autoscaling.aws_appautoscaling_policy.write_policy: Creating...
module.enrich_kinesis.module.config_autoscaling.aws_appautoscaling_policy.read_policy: Creating...
module.s3_loader_raw.module.kcl_autoscaling.aws_appautoscaling_policy.write_policy: Creation complete after 1s [id=DynamoDBWriteCapacityUtilization:table/sp-s3-loader-raw-server]
module.enrich_kinesis.module.kcl_autoscaling.aws_appautoscaling_policy.read_policy: Creation complete after 1s [id=DynamoDBReadCapacityUtilization:table/sp-enrich-server]
module.enrich_kinesis.module.kcl_autoscaling.aws_appautoscaling_policy.write_policy: Creation complete after 1s [id=DynamoDBWriteCapacityUtilization:table/sp-enrich-server]
module.enrich_kinesis.module.config_autoscaling.aws_appautoscaling_policy.read_policy: Creation complete after 1s [id=DynamoDBReadCapacityUtilization:table/sp-enrich-server-config]
module.enrich_kinesis.module.config_autoscaling.aws_appautoscaling_policy.write_policy: Creation complete after 1s [id=DynamoDBWriteCapacityUtilization:table/sp-enrich-server-config]
module.bad_2_stream.aws_kinesis_stream.stream: Still creating... [20s elapsed]
module.raw_stream.aws_kinesis_stream.stream: Still creating... [20s elapsed]
module.enriched_stream.aws_kinesis_stream.stream: Still creating... [20s elapsed]
module.bad_1_stream.aws_kinesis_stream.stream: Still creating... [20s elapsed]
module.bad_2_stream.aws_kinesis_stream.stream: Still creating... [30s elapsed]
module.raw_stream.aws_kinesis_stream.stream: Still creating... [30s elapsed]
module.enriched_stream.aws_kinesis_stream.stream: Still creating... [30s elapsed]
module.bad_1_stream.aws_kinesis_stream.stream: Still creating... [30s elapsed]
module.bad_2_stream.aws_kinesis_stream.stream: Still creating... [40s elapsed]
module.raw_stream.aws_kinesis_stream.stream: Still creating... [40s elapsed]
module.enriched_stream.aws_kinesis_stream.stream: Still creating... [40s elapsed]
module.bad_1_stream.aws_kinesis_stream.stream: Still creating... [40s elapsed]
module.bad_2_stream.aws_kinesis_stream.stream: Creation complete after 44s [id=arn:aws:kinesis:us-east-1:478156707454:stream/sp-bad-2-stream]
module.raw_stream.aws_kinesis_stream.stream: Creation complete after 44s [id=arn:aws:kinesis:us-east-1:478156707454:stream/sp-raw-stream]
module.enriched_stream.aws_kinesis_stream.stream: Creation complete after 44s [id=arn:aws:kinesis:us-east-1:478156707454:stream/sp-enriched-stream]
module.transformer_enriched[0].aws_iam_policy.iam_policy: Creating...
module.bad_1_stream.aws_kinesis_stream.stream: Creation complete after 44s [id=arn:aws:kinesis:us-east-1:478156707454:stream/sp-bad-1-stream]
module.collector_kinesis.aws_iam_policy.iam_policy: Creating...
module.enrich_kinesis.aws_iam_policy.iam_policy: Creating...
╷
│ Error: Error import KeyPair: InvalidKeyPair.Duplicate: The keypair already exists
│ status code: 400, request id: c97d4040-3fb4-4c9d-9186-c6b8ae6b1529
│
│ with aws_key_pair.pipeline,
│ on main.tf line 45, in resource "aws_key_pair" "pipeline":
│ 45: resource "aws_key_pair" "pipeline" {
│
╵
╷
│ Error: Error creating IAM Role sp-collector-server: EntityAlreadyExists: Role with name sp-collector-server already exists.
│ status code: 409, request id: a25bfee8-49aa-4558-a634-344c6c114aa3
│
│ with module.collector_kinesis.aws_iam_role.iam_role,
│ on .terraform/modules/collector_kinesis/main.tf line 76, in resource "aws_iam_role" "iam_role":
│ 76: resource "aws_iam_role" "iam_role" {
│
╵
╷
│ Error: error creating IAM policy sp-collector-server: EntityAlreadyExists: A policy called sp-collector-server already exists. Duplicate names are not allowed.
│ status code: 409, request id: aa7979c5-4ec8-47a4-87b1-679c457148c1
│
│ with module.collector_kinesis.aws_iam_policy.iam_policy,
│ on .terraform/modules/collector_kinesis/main.tf line 97, in resource "aws_iam_policy" "iam_policy":
│ 97: resource "aws_iam_policy" "iam_policy" {
│
╵
╷
│ Error: Error creating Security Group: InvalidGroup.Duplicate: The security group 'sp-collector-server' already exists for VPC 'vpc-0926b368b8db659cb'
│ status code: 400, request id: f97a583f-2cdf-4ae7-bbba-31dd3278237c
│
│ with module.collector_kinesis.aws_security_group.sg,
│ on .terraform/modules/collector_kinesis/main.tf line 145, in resource "aws_security_group" "sg":
│ 145: resource "aws_security_group" "sg" {
│
╵
╷
│ Error: Error creating Security Group: InvalidGroup.Duplicate: The security group 'sp-collector-lb' already exists for VPC 'vpc-0926b368b8db659cb'
│ status code: 400, request id: cce450ef-8683-49fa-856b-3d50fd924fe0
│
│ with module.collector_lb.aws_security_group.lb_sg,
│ on .terraform/modules/collector_lb/main.tf line 12, in resource "aws_security_group" "lb_sg":
│ 12: resource "aws_security_group" "lb_sg" {
│
╵
╷
│ Error: Error creating IAM Role sp-enrich-server: EntityAlreadyExists: Role with name sp-enrich-server already exists.
│ status code: 409, request id: 1bbc6a57-301a-464e-9da1-bff760939bc5
│
│ with module.enrich_kinesis.aws_iam_role.iam_role,
│ on .terraform/modules/enrich_kinesis/main.tf line 154, in resource "aws_iam_role" "iam_role":
│ 154: resource "aws_iam_role" "iam_role" {
│
╵
╷
│ Error: error creating IAM policy sp-enrich-server: EntityAlreadyExists: A policy called sp-enrich-server already exists. Duplicate names are not allowed.
│ status code: 409, request id: 7ce2381b-e1e3-489c-9a8b-0308ed3712c2
│
│ with module.enrich_kinesis.aws_iam_policy.iam_policy,
│ on .terraform/modules/enrich_kinesis/main.tf line 175, in resource "aws_iam_policy" "iam_policy":
│ 175: resource "aws_iam_policy" "iam_policy" {
│
╵
╷
│ Error: Error creating Security Group: InvalidGroup.Duplicate: The security group 'sp-enrich-server' already exists for VPC 'vpc-0926b368b8db659cb'
│ status code: 400, request id: 46d3dabf-13dc-4fcd-bc1a-968d30bf4118
│
│ with module.enrich_kinesis.aws_security_group.sg,
│ on .terraform/modules/enrich_kinesis/main.tf line 306, in resource "aws_security_group" "sg":
│ 306: resource "aws_security_group" "sg" {
│
╵
╷
│ Error: Error creating IAM Role sp-s3-loader-bad-server: EntityAlreadyExists: Role with name sp-s3-loader-bad-server already exists.
│ status code: 409, request id: a8170ae1-619e-4062-8903-d1e482e99190
│
│ with module.s3_loader_bad.aws_iam_role.iam_role,
│ on .terraform/modules/s3_loader_bad/main.tf line 110, in resource "aws_iam_role" "iam_role":
│ 110: resource "aws_iam_role" "iam_role" {
│
╵
╷
│ Error: Error creating Security Group: InvalidGroup.Duplicate: The security group 'sp-s3-loader-bad-server' already exists for VPC 'vpc-0926b368b8db659cb'
│ status code: 400, request id: 3c6d1afd-b345-4bbe-b0bf-351a64ef071c
│
│ with module.s3_loader_bad.aws_security_group.sg,
│ on .terraform/modules/s3_loader_bad/main.tf line 220, in resource "aws_security_group" "sg":
│ 220: resource "aws_security_group" "sg" {
│
╵
╷
│ Error: Error creating IAM Role sp-s3-loader-enriched-server: EntityAlreadyExists: Role with name sp-s3-loader-enriched-server already exists.
│ status code: 409, request id: 08570a58-163b-4480-af75-ef3ffe5a65d2
│
│ with module.s3_loader_enriched.aws_iam_role.iam_role,
│ on .terraform/modules/s3_loader_enriched/main.tf line 110, in resource "aws_iam_role" "iam_role":
│ 110: resource "aws_iam_role" "iam_role" {
│
╵
╷
│ Error: Error creating Security Group: InvalidGroup.Duplicate: The security group 'sp-s3-loader-enriched-server' already exists for VPC 'vpc-0926b368b8db659cb'
│ status code: 400, request id: b4eb6992-6085-4240-9ae2-956fbc930782
│
│ with module.s3_loader_enriched.aws_security_group.sg,
│ on .terraform/modules/s3_loader_enriched/main.tf line 220, in resource "aws_security_group" "sg":
│ 220: resource "aws_security_group" "sg" {
│
╵
╷
│ Error: Error creating IAM Role sp-s3-loader-raw-server: EntityAlreadyExists: Role with name sp-s3-loader-raw-server already exists.
│ status code: 409, request id: bc94070d-9b48-488b-84d9-eb949ed34670
│
│ with module.s3_loader_raw.aws_iam_role.iam_role,
│ on .terraform/modules/s3_loader_raw/main.tf line 110, in resource "aws_iam_role" "iam_role":
│ 110: resource "aws_iam_role" "iam_role" {
│
╵
╷
│ Error: Error creating Security Group: InvalidGroup.Duplicate: The security group 'sp-s3-loader-raw-server' already exists for VPC 'vpc-0926b368b8db659cb'
│ status code: 400, request id: 9e072beb-4fd7-4c80-8c95-33c0b08e8534
│
│ with module.s3_loader_raw.aws_security_group.sg,
│ on .terraform/modules/s3_loader_raw/main.tf line 220, in resource "aws_security_group" "sg":
│ 220: resource "aws_security_group" "sg" {
│
╵
╷
│ Error: Error creating S3 bucket: AuthorizationHeaderMalformed: The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'us-west-2'
│ status code: 400, request id: W9APC2NQTC45BDJV, host id: xaC8vvoeeLPO292M7QmLv0rlwuTnuQn0CGYN8XBtdJK+vJjPf2iDgOfbwNU43wstaYwAmNwx5Is=
│
│ with module.s3_pipeline_bucket[0].aws_s3_bucket.default,
│ on .terraform/modules/s3_pipeline_bucket/main.tf line 1, in resource "aws_s3_bucket" "default":
│ 1: resource "aws_s3_bucket" "default" {
│
╵
╷
│ Error: Error creating IAM Role sp-snowflake-loader-server: EntityAlreadyExists: Role with name sp-snowflake-loader-server already exists.
│ status code: 409, request id: daf02dcc-dfeb-4433-89cc-6df9c7f8909b
│
│ with module.snowflake_loader[0].aws_iam_role.iam_role,
│ on .terraform/modules/snowflake_loader/main.tf line 76, in resource "aws_iam_role" "iam_role":
│ 76: resource "aws_iam_role" "iam_role" {
│
╵
╷
│ Error: Error creating Security Group: InvalidGroup.Duplicate: The security group 'sp-snowflake-loader-server' already exists for VPC 'vpc-0926b368b8db659cb'
│ status code: 400, request id: b49dc039-e453-4b5e-950e-9058d5d0e782
│
│ with module.snowflake_loader[0].aws_security_group.sg,
│ on .terraform/modules/snowflake_loader/main.tf line 163, in resource "aws_security_group" "sg":
│ 163: resource "aws_security_group" "sg" {
│
╵
╷
│ Error: Error creating IAM Role sp-transformer-kinesis-enriched-server: EntityAlreadyExists: Role with name sp-transformer-kinesis-enriched-server already exists.
│ status code: 409, request id: ff6cd411-a289-4de3-96a4-e462546c68fc
│
│ with module.transformer_enriched[0].aws_iam_role.iam_role,
│ on .terraform/modules/transformer_enriched/main.tf line 142, in resource "aws_iam_role" "iam_role":
│ 142: resource "aws_iam_role" "iam_role" {
│
╵
╷
│ Error: error creating IAM policy sp-transformer-kinesis-enriched-server: EntityAlreadyExists: A policy called sp-transformer-kinesis-enriched-server already exists. Duplicate names are not allowed.
│ status code: 409, request id: 60e45ac4-4807-41ca-908a-24691d6371b0
│
│ with module.transformer_enriched[0].aws_iam_policy.iam_policy,
│ on .terraform/modules/transformer_enriched/main.tf line 163, in resource "aws_iam_policy" "iam_policy":
│ 163: resource "aws_iam_policy" "iam_policy" {
│
╵
╷
│ Error: Error creating Security Group: InvalidGroup.Duplicate: The security group 'sp-transformer-kinesis-enriched-server' already exists for VPC 'vpc-0926b368b8db659cb'
│ status code: 400, request id: 2e0e615a-9447-4aca-bf43-aa04773651b7
│
│ with module.transformer_enriched[0].aws_security_group.sg,
│ on .terraform/modules/transformer_enriched/main.tf line 266, in resource "aws_security_group" "sg":
│ 266: resource "aws_security_group" "sg" {
│
╵