hcl-template

Crates.iohcl-template
lib.rshcl-template
version0.1.1
sourcesrc
created_at2023-08-23 14:59:51.639646
updated_at2023-08-26 18:52:30.743011
descriptionA simple wrapper around the `hcl` create to render HCL template strings.
homepage
repositoryhttps://github.com/NiklasRosenstein/hcl-template
max_upload_size
id952123
size16,238
Niklas Rosenstein (NiklasRosenstein)

documentation

README

hcl-template

A simple wrapper around the [hcl-rs][https://crates.io/crates/hcl-rs] crate to render HCL template strings.

Usage

$ cat example.tftpl
Hello ${name}!
$ cat values.yaml
name: World
$ hcl-template --template example.tftpl --values values.yaml
Hello World!

Known limitations

  • Does not currently support sequences and maps in the values.
Commit count: 8

cargo fmt