From 981f8e3a69b51953b7b6261e711eb637e4420f4f Mon Sep 17 00:00:00 2001 From: Ilya Dmitrichenko Date: Tue, 5 Jun 2018 20:59:12 +0100 Subject: [PATCH] Limit to default region for this release --- cmd/eksctl/create.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmd/eksctl/create.go b/cmd/eksctl/create.go index 8df1f4da81..1433522bbc 100644 --- a/cmd/eksctl/create.go +++ b/cmd/eksctl/create.go @@ -94,6 +94,10 @@ func doCreateCluster(cfg *eks.ClusterConfig) error { return fmt.Errorf("--ssh-public-key must be non-empty string") } + if cfg.Region != DEFAULT_EKS_REGION { + return fmt.Errorf("only --region=%s is supported in this version") + } + if err := ctl.LoadSSHPublicKey(); err != nil { return err }