This document discusses HERE Transit, a backend service for a Windows Phone mobile application. It has a large number of CloudFormation stacks across multiple regions and environments. Plain JSON would be difficult to work with due to the complexity, so the service uses Python code to generate CloudFormation templates. Examples are provided showing how configurations are pulled from files and templates are generated dynamically based on environment settings.