我正在尝试使用cli部署到弹性豆茎。
我运行的命令是
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我的env.yaml文件中有密钥EnvironmentName。对此有什么帮助吗?
发布于 2017-03-31 15:57:36
我遇到了类似的问题,我注意到你必须将你的env.yaml签入到版本控制中,否则它将不会被使用:
git add env.yaml
git commit -m "add elastic beanstalk environment config"发布于 2017-12-27 19:32:21
检查您的ebtargets/goapi中是否有.elasticbeanstalk文件夹
如有必要,请使用eb init --modules ebtargets/goapi。
更多信息here
https://stackoverflow.com/questions/38133246
复制相似问题