gpt4 book ai didi

amazon-web-services - 如何为弹性 beantalk 指定环境名称?

转载 作者:行者123 更新时间:2023-12-04 08:05:59 25 4
gpt4 key购买 nike

我正在尝试使用 cli 部署到弹性 beantalk。

我运行的命令是

 eb create --modules ebtargets/goapi -v

我收到以下错误
WARNING: You have uncommitted changes.
INFO: Getting version label from git with git-describe
INFO: Uploading archive to s3 location: goapi/app-d4ec2-160630_135740.json
Uploading goapi/app-d4ec2-160630_135740.json to S3. This may take a while.
Upload Complete.
INFO: Creating AppVersion app-d4ec2-160630_135740
--- Waiting for application versions to be pre-processed ---
Finished processing application version app-d4ec2-160630_135740
--- Creating modules ---
ERROR: ServiceError - ApplicationVersion app-d4ec2-160630_135740 must specify an environment name in env.yaml

我有 key EnvironmentName在我的 env.yaml 文件中。有什么帮助吗?

最佳答案

我有一个类似的问题,我注意到你必须将你的 env.yaml 检查到版本控制中,否则它不会被使用:

git add env.yaml
git commit -m "add elastic beanstalk environment config"

关于amazon-web-services - 如何为弹性 beantalk 指定环境名称?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38133246/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com