Skip to content

v0.9.0

Choose a tag to compare

@github-actions github-actions released this 15 Nov 08:46
· 36 commits to main since this release
d156df5

Added

  • The cli exercise mode and ten exercises (cli1 to cli10): you write one Terraform command in answer.sh for a short task (apply a saved plan, plan -refresh-only, init -migrate-state, force-unlock, apply -replace, import, fmt -check -recursive, ...). tflings reads it and compares it with the accepted form; it is never run, so these need neither Terraform nor Docker. A wrong but tempting command (taint, refresh, destroy) gets a hint that says why. 95 exercises.

Install

go install github.com/cleonte/tflings/cmd/tflings@v0.9.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).