當嘗試一個新的環境變量添加到我們的彈性青苗堆棧,我們得到了一個錯誤:無法新的環境變量添加到彈性魔豆
Service:AmazonCloudFormation, Message:Template format error: Parameter 'EnvironmentVariables' default value '[...
當嘗試一個新的環境變量添加到我們的彈性青苗堆棧,我們得到了一個錯誤:無法新的環境變量添加到彈性魔豆
Service:AmazonCloudFormation, Message:Template format error: Parameter 'EnvironmentVariables' default value '[...
[更新15/12/2016]貌似初始源鏈接不再有效,但答案依然如此。
You can include as many properties as you want, but the total size of all properties cannot exceed 4096 bytes. You can delete a variable by leaving the value blank.
來源:https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb3-setenv.html
The combined size of all environment variables defined for an environment is limited to 4096 bytes. The format of environment variables is KEY1=VALUE1, KEY2=VALUE2, which means that both the value and key of each variable are included in the total. When a platform has one or more predefined environment variables, such as JDBC_CONNECTION_STRING those variables are also included in the total.
來源:http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options.html