Skip to content

Commit

Permalink
Limit to default region for this release
Browse files Browse the repository at this point in the history
  • Loading branch information
errordeveloper committed Jun 5, 2018
1 parent 7452faa commit 981f8e3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/eksctl/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 981f8e3

Please sign in to comment.