amazon web services - Set Environment Variables in AWS EBS -


i wonder how can set environment variables in amazon's elastic beanstalk? i've worked gae before, in env vars can set in config.yaml file. didn't find similar way in ebs documentation. lot.

in folder, create file env.yaml

inside file env.yaml:

option_settings:    aws:elasticbeanstalk:application:environment:      var1: xxxx      var2: yyyy 

the variable names have less 20 characters in length , cannot contain underscores. (i read somewhere on stackexchange).

for variable names more 20 characters , containing non-alphanumeric characters "_", way around string requirement use web interface.

check environmental variables have been set going configuration -> software configuration


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -