我想使用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):
正如其他人在评论中提到的,请确保使用最新版本的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):