AWS Elastic Beanstalk错误:InvalidParameterValueError [英] AWS Elastic Beanstalk ERROR: InvalidParameterValueError

查看:54
本文介绍了AWS Elastic Beanstalk错误:InvalidParameterValueError的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用命令-eb部署

我遇到了错误.YAML是明智的语法

I am getting below error. YAML is fine syntax wise

错误:InvalidParameterValueError-配置文件.ebextensions/environ-中的每个选项设置应用程序版本app-4c59-191023_045651中的v1.config必须是映射.更新配置文件中的每个选项设置.

ERROR: InvalidParameterValueError - Each option setting in configuration file .ebextensions/environ- v1.config in application version app-4c59-191023_045651 must be a map. Update each option setting in the configuration file.

.config文件

<代码>option_settings:aws:elasticbeanstalk:应用程序:环境:端口:8081NODE_ENV:发展中aws:autoscaling:启动配置:安全组:launch-123

推荐答案

我在运行将AWS部署Django应用程序部署到Elastic Beanstalk时遇到了同样的问题(该教程似乎不是最新的).

I ran into the same issue running the AWS Deploy a Django App to Elastic Beanstalk (the tutorial does not seem to be up to date).

此AWS页面包含有关最新选项设置的一些信息格式

它帮助我解决了我的问题,我认为在您的情况下,在"PORT:","NODE_ENV:"等之后添加空格.

It helped me resolve my issue which I think in your case would be including spaces after "PORT: ", "NODE_ENV: ", etc.

还使用将突出显示文件中不同单词/部分的IDE来帮助我理解事物是如何被识别的.

Also using an IDE that will highlight different words/parts of the file helped me understand how things were getting recognized.

这篇关于AWS Elastic Beanstalk错误:InvalidParameterValueError的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆