I am using a parameter key in my elastic beanstalk environment under Environment properties by {{resolve:ssm:production-MAILCHIMP_API_KEY:1}}
as the value. On environment creation this works fine but once I update the value in the parameter store it does not reflect into my environment. I tried restarting the app but still it picks up the old value. So I had to paste it in normally without using parameter key and it works.
aws parameter key not updating in elastic beanstalk environment
667 views Asked by shorif2000 At
1
You are only passing version 1 of your SSM parameter:
You can't edit SSM parameters, you only create their newer versions. Thus, if you update (i.e. create new version) of your SSM parameter, you have to updated your settings in EB, to use version 2,3 and so on:
This will updated your environment and you get new value passed to the EB instance(s).