AWS Elastic Beanstalk – Environment Variable Update Fails

amazon-web-serviceselastic-beanstalk

When I try to update the environment variables of my Elastic BeanStalk environment via the software configuration, the update fails and the environment is rolled back to the previous configuration (see image).

events

Does anyone know why this might happen? The strange thing is that whenever I deploy the full CodePipeline (GitHub -> build files on build server -> deploy to Elastic BeanStalk) the whole process succeeds. Only whenever I try to change the software configuration, the process fails.

It seems to go wrong somewhere in the CloudFormation stack:

enter image description here

I have never manually changed the stack, it was entirely constructed via a CodePipeline configuration.

Best Answer

The issue has resolved overnight, just like how it appeared. Was thus likely on the side of AWS.