When updating my env var values from an .ebextensions/env-var.config file, the env var is not updated within my environment. If I add a new env var to the config file it gets added to the environment as expected.
Original env-var.config file
option_settings:
aws:elasticbeanstalk:application:environment:
VAR1=foo
VAR2=bar
Running eb printenv will return me foo and bar for these two env vars. If I update the config file:
option_settings:
aws:elasticbeanstalk:application:environment:
VAR1=test
VAR2=bar
VAR3=new
Running eb printenv will return me:
VAR1 = foo
VAR2 = bar
VAR3 = new
How can I update environment variables from the config file?