eb init没有显示孟买地区

时间:2016-11-04 12:11:26

标签: django amazon-web-services elastic-beanstalk aws-cli

我想使用EB CLI创建一个EBS django应用程序,我也知道这个过程,因为我已经为其他地区(俄勒冈州)做过了。现在我想为孟买地区创建另一个新的EBS应用程序,每当我eb init配置区域时,它都没有显示孟买地区的选项。问题是什么?即使我尝试使用eb init -i更改我现有应用的配置,但它也没有显示孟买地区。

以下是我的选项:

piyush@piyush-ThinkPad ~/abc/xyz $ eb init -i

Select a default region
1) us-east-1 : US East (N. Virginia)
2) us-west-1 : US West (N. California)
3) us-west-2 : US West (Oregon)
4) eu-west-1 : EU (Ireland)
5) eu-central-1 : EU (Frankfurt)
6) ap-southeast-1 : Asia Pacific (Singapore)
7) ap-southeast-2 : Asia Pacific (Sydney)
8) ap-northeast-1 : Asia Pacific (Tokyo)
9) ap-northeast-2 : Asia Pacific (Seoul)
10) sa-east-1 : South America (Sao Paulo)
11) cn-north-1 : China (Beijing)
(default is 3): 

1 个答案:

答案 0 :(得分:3)

正如其他人在评论中所提到的,请确保使用eb cli工具的最新版本

fhenri:~$ eb --version
EB CLI 3.8.3 (Python 2.7.1)
fhenri:~$ eb init -i

Select a default region
1) us-east-1 : US East (N. Virginia)
2) us-west-1 : US West (N. California)
3) us-west-2 : US West (Oregon)
4) eu-west-1 : EU (Ireland)
5) eu-central-1 : EU (Frankfurt)
6) ap-south-1 : Asia Pacific (Mumbai)
7) ap-southeast-1 : Asia Pacific (Singapore)
8) ap-southeast-2 : Asia Pacific (Sydney)
9) ap-northeast-1 : Asia Pacific (Tokyo)
10) ap-northeast-2 : Asia Pacific (Seoul)
11) sa-east-1 : South America (Sao Paulo)
12) cn-north-1 : China (Beijing)
13) us-east-2 : US East (Ohio)
(default is 3):