~/talk

Testing Infrastructure as Code Using OpenTofu and Localstack

Talkat OpenTofu Day Europe 2026 · on Monday, 2026-03-23· [testing, infrastructure-as-code]
links:none on file
slides:none on file

Demonstrates writing unit and end-to-end tests for OpenTofu modules and orchestration repos using OpenTofu with a local AWS mock like Localstack, showing concrete examples: an S3 bucket module (plan tests for argument checks, apply tests to populate attributes and catch error cases) and a CloudWatch-alarms stack that builds VPC→EC2→alarms, deploys then tears down during tests. Claims tests run repeatedly and in parallel, notes ~50 services in free tier and roughly 60% API coverage by mocks.

AI-written summary · about

  1. 0:00Introduction
  2. 1:02IaC deployment challenges
  3. 4:11Testing IaC like apps
  4. 5:17Module vs orchestration repos
  5. 6:00Unit testing modules
  6. 7:24Demo: S3 bucket unit test
  7. 11:02LocalStack in IaC testing
  8. 14:32Testing modules with VPC/EC2
  9. 17:25End-to-end orchestration tests
  10. 20:58LocalStack setup alternatives
  11. 22:05Q&A
~/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.