~/talk

Shifting Security and Sanity Left by Testing Terraform with InSpec

Talkat HashiTalks 2020 · 2020-02-20..02-21· [testing]
slides:none on file

Demonstrates a concrete workflow: use Test Kitchen with the kitchen-terraform driver to spin up isolated Terraform sandboxes (Ruby + bundler required), run Terraform apply, then execute InSpec profiles against two targets — the provisioned VM and the Azure subscription — and tear down with kitchen destroy. Recommends running InSpec as a local-exec only for production validation and compliance, and using kitchen verify for test-driven development and CI gating. Demo builds resources, runs tests, and destroys the sandbox successfully.

AI-written summary · about

  1. 0:00Introduction
  2. 2:30Why test Terraform early
  3. 3:55What is InSpec?
  4. 7:48Validating production deployments
  5. 11:44Test-driven development with Test Kitchen
  6. 15:46Setting up Test Kitchen
  7. 20:20Running Test Kitchen tests
  8. 25:39Cleaning up test environments
  9. 26:46Use cases recap
  10. 27:51Final thoughts and resources
~/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.