How to define spring profile on AWS

Question:

I have deployed my war file on AWS’s Elastic Beanstalk as a java app.

I want to specify on AWS : spring.profiles.active like I do when I execute:

I can only configure “Environment Property” on “Configuration”

Answer:

Set below environment variable in ElasticBeanStalk

Leave a Reply