Decoupling Application configuration from application code in your serverless application with AWS Appconfig

The easiest and most common way of adding application configurations(Eg: feature toggle flags, secrets, fallback URLs, etc) with your serverless applications is by setting them as lambda environment variables. These variables are set to the lambda functions from a configuration file in your code (eg: serverless.yml) or read from secrets manager or parameter store etc and exported during the deployment on your CICD pipeline. The problem with this approach is, suppose you have a serverless application that has multiple lambda functions under it....

February 14, 2021 · 7 min · Vishnu Prasad