我正在尝试使用 beanstalk 环境属性(或变量)编辑环境配置“JVMOptions”。
option_settings:
- namespace: "aws:elasticbeanstalk:container:tomcat:jvmoptions"
option_name: "JVM Options"
value: '`{"Fn::GetOptionSetting": {"Namespace":"aws:elasticbeanstalk:application:environment","OptionName": "VAR_JVMOPTION"}}`'
也试过这个
option_settings:
- namespace: "aws:elasticbeanstalk:container:tomcat:jvmoptions"
option_name: "JVM Options"
value:
"Fn::GetOptionSetting":
Namespace: "aws:elasticbeanstalk:application:environment"
OptionName: "VAR_JVMOPTION"
是否有人在 .ebextensions 文件夹的 option_settings 模块中传递了环境变量?