According to the AWS Lambda documentation, one can pass environment variables when creating a Lambda.
If Lambda is implemented as a spring boot application, setting the SPRING_PROFILES_ACTIVE
variable will activate the specified profile.
How can we emulate the same behavior when Lambda is implemented as a Micronaut application?