Ari Palo

AWS User Group Gothenburg August Meetup: Managing configuration(s) in AWS CDK applications

Large group of people in a room listening for a presentation

Creating a simple hello world CDK application with couple of stacks is relatively easy. But for real world applications with multiple stacks deployed to multiple AWS accounts, configuration management can sometimes be tricky – especially if you're just starting with CDK. How and where you store global configuration? What about AWS account-specific configuration? Or environment-specific configuration? Or how you do "branch" your infrastructure code with different resource configurations for let's say production and ephemeral feature environments? What about cross-stack, cross-region or cross-application dependencies? These are all questions that developers using CDK need to think about. Of course, there's no "one size fits all" solution, but this talk discusses some of them and their pros & cons based on experiences of running CDK in production since late 2018 in an enterprise environment.