gpt4 book ai didi

amazon-elastic-beanstalk - 无法向弹性beanstalk添加新的环境变量

转载 作者:行者123 更新时间:2023-12-04 23:19:33 28 4
gpt4 key购买 nike

当尝试使用 Elastic Beanstalk 将新的环境变量添加到我们的堆栈时,我们收到错误:

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

关于amazon-elastic-beanstalk - 无法向弹性beanstalk添加新的环境变量,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31536256/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com