~/talk

Taste Testing Tofu

Talkat IaCConf 2025 · on Thursday, 2025-05-15· [devops-and-delivery]
slides:none on file

Practical, tool-focused session that shows how testing Terraform/OpenTofu prevents outages, saves review time, and preserves backward compatibility. Key prescriptions: run terraform fmt and Terraform validate in CI, add TFLint and Checkov/Trivy for linting and security, use pre-commit hooks and a cookiecutter module plus GitHub Actions to scaffold tests. Use Terratest (Go) for version-flexible end-to-end tests, native HCL tests with mocks for fast unit-like checks, and nightly teardown or AWS Nuke to avoid leaked resources (RDS can take ~45 minutes). OpenTofu is recommended and used in production.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:13What is Terraform and OpenTofu
  3. 2:37Why test infrastructure code
  4. 6:09Low-hanging fruit testing tools
  5. 9:37Automating tests in CI
  6. 12:03Testing infrastructure resources
  7. 13:29Challenges of IaC testing
  8. 15:13TerraTest framework overview
  9. 16:39Native testing framework
  10. 18:49Comparing testing frameworks
  11. 20:16Q&A session begins
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.