Repository navigation
v0.9.0
Added
- The
cliexercise mode and ten exercises (cli1tocli10): you write one Terraform command inanswer.shfor 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).