Configs
Configs are how you can customize the blueprints to fit your needs. There are two main 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.
Location
The configs
files are located at the top-level of your lono project, outside of the blueprints themselves. Example:
configs/
├── ec2
│ └── params
│ ├── development.txt
│ └── production.txt
└── ecs-spot
├── params
│ ├── development.txt
│ └── production.txt
└── variables
├── development.rb
└── production.rb
Param Files
Params are configs that you define to affect how the templates behave at runtime. Param files provide a simple way of building parameters for CloudFormation templates. The param files use a simple key=value
format like env files. The params are defined in the params
folder. More information on param files is available on the Params docs.
Shared Variables
Shared Variables are configs that you define to affect how the templates are generated at compile-time. Shared variables are available to all templates, helpers, and parameters. The variables are defined in the configs/BLUEPRINT/variables
folder. The variable configuration component is covered in detailed at the Shared Variables docs.
Pro tip: Use the <- and -> arrow keys to move back and forward.
Edit this page
See a typo or an error? You can improve this page. This website is available on GitHub and contributions are encouraged and welcomed. We love pull requests from you!
- Suggest an edit to this page (here's the contributing guide).
- Open an issue about this page to report a problem.