Tanzu Kubernetes Grid management cluster creation fails with error "unable to create AWS CloudFormationStack"
search cancel

Tanzu Kubernetes Grid management cluster creation fails with error "unable to create AWS CloudFormationStack"

book

Article ID: 319319

calendar_today

Updated On:

Products

Tanzu Kubernetes Grid VMware Tanzu Kubernetes Grid 1.x

Issue/Introduction

Symptoms:
  • You are trying to create a management cluster on AWS
  • You observe the below error during AWS CloudFormation Stack creation

Validating the pre-requisites...
Serving kickstart UI at http://127.0.0.1:8080
Creating AWS CloudFormation Stack
web socket connection established
sending pending 2 logs to UI
unable to create AWS CloudFormationStack: failed to create aws CloudFormation stack: failed to create AWS CloudFormation stack: ResourceNotReady: failed waiting for successful resource state


Environment

VMware Tanzu Kubernetes Grid 1.x

Cause

You will encounter this error if a CloudFormation stack used by TKG already exists for the AWS account. This can happen if you have created a cluster in the past under the same AWS account.

Resolution

While creating a TKG management cluster on AWS you can skip automating the creation of AWS CloudFormation Stack. Example

kb_aws_cloudformation.png