AWS EB CLI - 无法从现有应用程序 select
AWS EB CLI - not able to select from existing application
我是 AWS 和 AWS EB CLI 的新手。我的组织已经在 AWS 中托管了一个应用程序,他们使用 AWS EB CLI 进行部署。我已经安装了 awsebcli
brew install awsebcli
并且安装成功
eb --version
产出
/opt/homebrew/Cellar/aws-elasticbeanstalk/3.20.0/libexec/lib/python3.9/site-packages/ebcli/display/screen.py:442: SyntaxWarning: assertion is always true, perhaps remove parentheses?
assert(
/opt/homebrew/Cellar/aws-elasticbeanstalk/3.20.0/libexec/lib/python3.9/site-packages/ebcli/controllers/create.py:221: SyntaxWarning: "is" with a literal. Did you mean "=="?
if instance_types is "":
EB CLI 3.20.0 (Python 3.9.6)
现在我 cd 到已经托管在 AWS 中的应用程序并更新了我的 .elasticbeanstalk/config.yml
branch-defaults:
master:
environment: xxxx-staging
environment-defaults:
xxxx-staging:
branch: null
repository: null
global:
application_name: xxxx
default_ec2_keyname: xxxx-eb
default_platform: Puma with Ruby 2.6 running on 64bit Amazon Linux
default_region: xx-xxxxx-1
include_git_submodules: true
instance_profile: null
platform_name: null
platform_version: null
profile: eb-cli
sc: git
workspace_type: Application
当我从应用程序执行 eb init 时,我没有被要求
Select an application to use: choose
我总是被要求
Enter Application Name
而且我无法从现有应用程序 select。与访问问题有关吗?
这是因为我无权访问 AWS EB 中的现有应用程序。一旦获得访问权限,我就可以从现有应用程序 select。
我是 AWS 和 AWS EB CLI 的新手。我的组织已经在 AWS 中托管了一个应用程序,他们使用 AWS EB CLI 进行部署。我已经安装了 awsebcli
brew install awsebcli
并且安装成功
eb --version
产出
/opt/homebrew/Cellar/aws-elasticbeanstalk/3.20.0/libexec/lib/python3.9/site-packages/ebcli/display/screen.py:442: SyntaxWarning: assertion is always true, perhaps remove parentheses?
assert(
/opt/homebrew/Cellar/aws-elasticbeanstalk/3.20.0/libexec/lib/python3.9/site-packages/ebcli/controllers/create.py:221: SyntaxWarning: "is" with a literal. Did you mean "=="?
if instance_types is "":
EB CLI 3.20.0 (Python 3.9.6)
现在我 cd 到已经托管在 AWS 中的应用程序并更新了我的 .elasticbeanstalk/config.yml
branch-defaults:
master:
environment: xxxx-staging
environment-defaults:
xxxx-staging:
branch: null
repository: null
global:
application_name: xxxx
default_ec2_keyname: xxxx-eb
default_platform: Puma with Ruby 2.6 running on 64bit Amazon Linux
default_region: xx-xxxxx-1
include_git_submodules: true
instance_profile: null
platform_name: null
platform_version: null
profile: eb-cli
sc: git
workspace_type: Application
当我从应用程序执行 eb init 时,我没有被要求
Select an application to use: choose
我总是被要求
Enter Application Name
而且我无法从现有应用程序 select。与访问问题有关吗?
这是因为我无权访问 AWS EB 中的现有应用程序。一旦获得访问权限,我就可以从现有应用程序 select。