~/talk

Policy-as-Code for Infrastructure-as-Code with OPA and OpenTofu

Talkat OpenTofu Day North America 2024 · on Tuesday, 2024-11-12· at 16:40· Salt Palace | Level 2 | 250 D· [security]
links:none on file
slides:none on file

Shows concrete wiring of OpenTofu + OPA using Rego to enforce repo and resource rules: use tofu show -json pipe into opa to detect planned deletions, block a flagged GitHub team membership, and reject an attempted change that would destroy two resources; earlier plan shows 14 resources to create. Demonstrates ConfTest for static TF file checks, module-based reuse to enforce policies across repos, and a dynamic deletion policy that queries an inventory API from Rego to allow or deny deletes at runtime.

AI-written summary · about

  1. 0:00Introduction to OPA and Rego
  2. 1:30Understanding Rego
  3. 4:07Building an automation pipeline
  4. 9:44Implementing deletion prevention
  5. 15:38Inventory management and state
  6. 19:15Dynamic policy evaluation
  7. 22:42Conclusion 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.