footer-from

Since v0.12.0

Relative path to a file to extract footer for the generated output from. Supported file formats are .adoc, .md, .tf, and .txt.

To extract footer from .tf file you need to use following javascript, c, or java like multi-line comment.

/**
 * # Footer
 *
 * Everything in this comment block will get extracted.
 *
 * You can put simple text or complete Markdown content
 * here. Subsequently if you want to render AsciiDoc format
 * you can put AsciiDoc compatible content in this comment
 * block.
 */

resource "foo" "bar" { ... }

Options

Available options with their default values.

footer-from: ""

Examples

Read footer.md to extract footer:

footer-from: footer.md

Read docs/.footer.md to extract footer:

footer-from: "docs/.footer.md"

Edit on GitHub