在配置文件中,.ebextensions
我可以为参数指定以下配置:
Parameters:
Foo:
NoEcho: false
Type: String
Description: The value I wish to set.
ConstraintDescription: Some value
但是......当我尝试使用eb create
亚马逊部署它时会失败:
ERROR: "option_settings" in one of the configuration files failed validation. More details to follow.
ERROR: Missing value for required parameter: AWSESDomain
ERROR: Failed to launch environment.
通过在 ebcli github 中挖掘并查看简单 Elastic Beanstalk 部署的模板,它在使用 部署时使用此类参数作为 RDS 用户名和密码eb create --database
,但我无法弄清楚如何从配置文件中设置这些参数。
如何从配置文件中设置参数.ebextensions
?