Skip to content

v0.8.0

Choose a tag to compare

@github-actions github-actions released this 15 Nov 08:16
· 40 commits to main since this release
7563f44

Added

  • tflings doctor --install-terraform: downloads Terraform from releases.hashicorp.com into tflings's own folder (nothing system-wide), with HashiCorp's hc-install, which checks the release's SHA256 sums and the signature on them. The default is the newest 1.12.x, the version the exam tests (--terraform-version 1.12.3 or a constraint chooses another), and tflings uses it before any terraform on PATH. doctor now says to run it when no Terraform is found. Tried on macOS arm64 and on Ubuntu 26.04 arm64 with no Terraform on PATH.
  • Three exercises for topics the exam asks about: workspaces1 (CLI workspaces: a second state for the same configuration), iteration7 (count against for_each: removing an item must not shift the others) and conditions5 (can(regex(...)) in a validation): 85 exercises.

Fixed

  • The states of CLI workspaces (terraform.tfstate.d) are kept between runs of an apply or fix exercise, like the default state.

Install

go install github.com/cleonte/tflings/cmd/tflings@v0.8.0, brew install cleonte/tap/tflings (macOS), or download the archive for your system below and put tflings on your PATH. Then run tflings doctor, tflings init and tflings watch.

Exercises that use the AWS provider need Docker and a one-time tflings doctor --prefetch (about 250 MB); tflings aws up starts the local AWS emulator (Floci).