Here are the main Lono concepts:
- Configs: Params and Variables
- Layering: Params and Variables
Essentially, blueprints encapsulate the code that is used to generate CloudFormation templates. Blueprints live in your project’s
blueprints folder or as gems. Blueprints allow you to add infrastructure components and configure them to fit your needs with Param or Shared Variables configs files. The blueprint component is covered in detailed at the Blueprints docs.
Configs: Params and Variables
Configs are how you can customize the blueprints to fit your needs. There are 2 types of configs: Params docs and Variables docs. Params allow you to affect the templates at run-time. Variables configs allow you to affect the templates at compile-time.
Layering: Params and Variables
Lono supports a concept called layering. Layering is how lono merges multiple files together to produce a final result. This is useful for building multiple environments. For example, it is common to build a separate production and development environment. Most of the infrastructure is the same except for a few parts that require specific environment overrides. Lono’s layering ability makes this simple to do. More info on Layering Support.
Pro tip: Use the <- and -> arrow keys to move back and forward.