【问题标题】:AWS EB CLI - not able to select from existing applicationAWS EB CLI - 无法从现有应用程序中进行选择
【发布时间】:2021-08-13 05:21:15
【问题描述】:

我是 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)

现在我对已经托管在 AWS 中的应用程序进行了 cd,并更新了我的 .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

而且我无法从现有应用程序中进行选择。是否与访问问题有关?

【问题讨论】:

    标签: amazon-web-services amazon-elastic-beanstalk


    【解决方案1】:

    这是因为我无法访问 AWS EB 中的现有应用程序。一旦授予访问权限,我就可以从现有应用程序中进行选择。

    【讨论】:

      猜你喜欢
      • 2019-06-19
      • 2017-10-13
      • 2021-12-25
      • 2016-08-26
      • 2016-11-22
      • 2015-02-15
      • 2016-11-18
      • 2020-08-01
      • 1970-01-01
      相关资源
      最近更新 更多