/hcl2tests

A small repo of sample HCL2 apps

Primary LanguageGoMozilla Public License 2.0MPL-2.0

hcl2tests

A small repo of sample HCL2 apps

Example Programs

  1. empty_interface - Basic of deserialization
  2. partial_content - Use a schema to decode the test suite. Built on top of empty_interface.
  3. parse_eval - Parses a []byte and performs variable interpolation.
  4. fmt - Rewrites the input to be properly formatted/fmt'ed HCL