找不到EnvironmentName ='name-env'的AWS No Environment

Ros*_*one 10 amazon-web-services amazon-elastic-beanstalk

为什么我跑步后会看到这个错误git aws.push

remote: error: Unable to deploy application version: No Environment found for EnvironmentName = 'reco-api-env'.
Run Code Online (Sandbox Code Playgroud)

当我grep我的烧瓶应用程序的目录EnvironmentName,我看到这个:

./.elasticbeanstalk/config:6:EnvironmentName=name-env
./.git/AWSDevTools/aws/elastic_beanstalk_config.rb:36:      :environment_name => "EnvironmentName",
Run Code Online (Sandbox Code Playgroud)

ted*_*r42 6

我怀疑你错过了这个过程中的一步.你需要eb start在做之前使用git aws.push.


Zor*_*ayr 5

我有我的时候手动更新类似的症状default_region,从us-west-2us-west-1.还原修复了问题.