terrafmt

Format terraform blocks embedded in files

GPL-3.0 License

Stars
77

Bot releases are visible (Hide)

terrafmt - v0.5.3 (2024-03-08) Latest Release

Published by katbyte 7 months ago

v0.5.3 (2024-03-08)

  • dependencies: update hcl/v2 to v2.20.0 (#75)
terrafmt - v0.5.2

Published by katbyte about 2 years ago

v0.5.2 (2022-08-16)

  • fix regression preventing uppercase resource name (#71)
terrafmt - v0.5.1

Published by katbyte about 2 years ago

v0.5.1 (2022-08-09)

  • remove exclude github.com/sergi/go-diff v1.2.0 from go.mod
terrafmt - v0.5.0

Published by katbyte about 2 years ago

v0.5.0 (2022-08-09)

  • allow uppercase letters for the resource name in the block reader (#56)
  • adds support for format verbs as parameters (#58)
  • support for for expressions and functions with multiple parameters (#59)
  • support reStructuredText (#60)
  • support format verbs in resource names (#67)
  • support for the count meta-variable (#68)
terrafmt - v0.4.0

Published by katbyte over 2 years ago

0.4.0 (2022-03-21)

  • add option to remove colour from output with -uncoloured option (#52)
  • update to go v1.18 (#54)
  • correctly surface error statuses (#50)
  • add block number to json output (#49)
  • update terraform-exec to v0.12.0 (#42)
terrafmt - v0.3.0

Published by katbyte almost 4 years ago

0.3.0 (2020-01-06)

  • add support for return ' blocks (#39)
  • use terraform-exec to manage the terraform executable (#36)
  • returns actionable error codes (#33)
  • suppot addtional go format verbs (#31)
  • add option to mask go format versd in -blocks output (#29)
  • the blocks command can now return blocks null-seperated (#25)
  • JSON output format for blocks command (#23)
  • tolerate whitespace at the beginning of the first line (#12)
  • include the terraform version in the output of version (#8)
terrafmt - v0.2.0

Published by katbyte over 4 years ago

0.2.0 (2020-02-29)

  • Replace filename#linenumber output with filename:linenumber (#16)
  • Support directory traversal with pattern matching in diff and fmt (#14)
terrafmt - v0.1.0

Published by katbyte over 4 years ago

As requested 🤗