【问题标题】:eb init - ElasticBeanstalk application environment not showing up in the list of choiceseb init - ElasticBeanstalk 应用程序环境未显示在选项列表中
【发布时间】:2021-05-04 00:30:49
【问题描述】:

我已经从 AWS 控制台创建了一个应用程序和一个相应的环境。

我跑了:eb init

但 ElasticBeanstalk 应用程序环境未显示在选项列表中。

有人可以帮助/指出正确的方向来帮助解决这个问题吗?

【问题讨论】:

  • 确保您使用正确的帐户/凭据和区域。

标签: amazon-elastic-beanstalk


【解决方案1】:

您可以尝试几件事:

  1. 在您的本地计算机上检查~/.aws/config 并确保您设置了正确的凭据。您的凭据应如下所示:
  [profile my-profile-name]
  aws_access_key_id = AKBCDEFG1234567890
  aws_secret_access_key = abce123456ghijklmnop
  region = us-east-1
  1. 运行带有 -i 标志的 init 命令以确保您进入交互模式,并传递配置文件名称:
  eb init -i --profile=my-profile-name

【讨论】:

    猜你喜欢
    • 2018-12-11
    • 2015-10-12
    • 1970-01-01
    • 2013-05-29
    • 1970-01-01
    • 1970-01-01
    • 2015-07-20
    • 2017-11-16
    • 2016-03-13
    相关资源
    最近更新 更多