Categories
Geek Speak

AWS Elastic Beanstalk 2

AWS Amazon Linux 2 environment properties are only accessible to root accounts. So, now to pass environment variables to wabapp, for example, I created a .ebextensions/options.config file that looks like this —

option_settings:
aws:elasticbeanstalk:application:environment:
A_KEY: 10GceMTd5\ShfUL2R+MGxJgErcwGfwgm2==tCy_Z
A_SALT: s/yIV2Qv=uW1efams5Iy+Lg1u7JXD-WLA:Zp6Y2eY

I truncated the 64-character, random string, values above so that they appear on the same line as the key.

Leave a Reply