I am trying to edit environment configuration "JVMOptions" using beanstalk environment properties(or variables).
option_settings:
- namespace: "aws:elasticbeanstalk:container:tomcat:jvmoptions"
option_name: "JVM Options"
value: '`{"Fn::GetOptionSetting": {"Namespace":"aws:elasticbeanstalk:application:environment","OptionName": "VAR_JVMOPTION"}}`'
also tried this
option_settings:
- namespace: "aws:elasticbeanstalk:container:tomcat:jvmoptions"
option_name: "JVM Options"
value:
"Fn::GetOptionSetting":
Namespace: "aws:elasticbeanstalk:application:environment"
OptionName: "VAR_JVMOPTION"
Did any one passed the environment variables in option_settings module of .ebextensions folder?