OpenShift 4 installation failed because of previous installation artifacts

Solution Verified - Updated -

Issue

  • When attempting to create a cluster, failed with following
ERROR
ERROR Error: Error applying plan:
ERROR
ERROR 5 errors occurred:
ERROR   * module.vpc.aws_lb_target_group.api_external: 1 error occurred:
ERROR   * aws_lb_target_group.api_external: Error creating LB Target Group: DuplicateTargetGroupName: A target group with the same name 'XXX-api-ext' exists, but with different settings
ERROR   status code: 400, request id: XXXXX
ERROR
... 
ERROR
ERROR
ERROR Terraform does not automatically rollback in the face of errors.
ERROR Instead, your Terraform state file has been partially updated with
ERROR any resources that successfully completed. Please address the error
ERROR above and apply again to incrementally change your infrastructure.
ERROR
ERROR
FATAL failed to fetch Cluster: failed to generate asset "Cluster": failed to create cluster: failed to apply using Terraform

Environment

  • Red Hat OpenShift Container Platform
    • 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content