I want my default active profile to be production if -Dspring.profiles.active is not set.
production
-Dspring.profiles.active
I tried the following in my application.pro
application.pro
If you are using AWS Lambda with SprintBoot, then you must declare the following under environment variables:
key: JAVA_TOOL_OPTIONS & value: -Dspring.profiles.active=dev