Skip to main content

Partials

Each file in the partials directory or its subdirectory can be used as a Handlebars partial.

note

Partials are supported only when using Handlebars templating engine.

Examples

Here are some examples of how to use partials.

Simple partial

If the partials directory contains a file named my-log-group.yml, you can include it as a partial in a configuration file like so:

{{> my-partial.hbs }}