Eksctl: create cluster with default VPC NAT mode fails with a CloudFormation template validation error

Created on 25 Jun 2019  路  2Comments  路  Source: weaveworks/eksctl

What happened?
eksctl create cluster with the single VPC NAT mode failed with a CloudFormation template validation error.

What you expected to happen?
For eksctl create cluster to work without explicitly specifying a VPC NAT mode.

How to reproduce it?
Run eksctl create cluster without specifying a VPC NAT mode, either via a config file or as a CLI arg.

Anything else we need to know?
This bug exists on the latest master only and not in the latest release 0.1.38.

Versions
Please paste in the output of these commands:

$ eksctl version
 version.Info{BuiltAt:"1561467883", GitCommit:"0.1.38-52-g257de2c8-dirty", GitTag:""}
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.3", GitCommit:"5e53fd6bc17c0dec8434817e69b04a25d8ae0ff0", GitTreeState:"clean", BuildDate:"2019-06-06T01:44:30Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}

Logs

eksctl create cluster --name=test --node-type=t3.small --nodes=3  --region=us-east-1  --v 4
...
2019-06-25T17:55:43+05:30 [鈻禲  failed task: create cluster control plane "test" (will not run other sequential tasks)
2019-06-25T17:55:43+05:30 [鈩筣  1 error(s) occurred and cluster hasn't been created properly, you may wish to check CloudFormation console
2019-06-25T17:55:43+05:30 [鈩筣  to cleanup resources, run 'eksctl delete cluster --region=us-east-1 --name=test'
2019-06-25T17:55:43+05:30 [鉁朷  creating CloudFormation stack "eksctl-test-cluster": ValidationError: Template format error: Unresolved resource dependencies [PrivateRouteTableUSEAST1B] in the Resources block of the template
    status code: 400, request id: 59bdc587-9744-11e9-9b9d-cb4920904d52
2019-06-25T17:55:43+05:30 [鉁朷  failed to create cluster "test"

areaws-vpc kinbug

All 2 comments

@cPu1 do you want to look into this?

@errordeveloper I was already looking into it :) I forgot to assign it to me initially.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

martina-if picture martina-if  路  4Comments

errordeveloper picture errordeveloper  路  4Comments

errordeveloper picture errordeveloper  路  3Comments

albertmichaelj picture albertmichaelj  路  3Comments

errordeveloper picture errordeveloper  路  4Comments