Organizing Lono

Breaking up app/definitions

If you have a lot of templates, the app/definitions/base.rb file can become unwieldy long. You can break up the file and put them under the app/definitions/base folder. All files are loaded.

Though, you might find that using a balance of shared variables, params, and native CloudFormation constructs, and layering results in a short app/definitions files and you don’t break up your app/definitions files in the first place.

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!