Skip to main content

Policy as Code: OPA, Sentinel, tfsec

This generated surface maps a learner-facing curriculum unit to its canonical source routes.

Curriculum surface

  • Open learner-facing unit
  • Curriculum path: content/curriculum/production/semester-09-cloud-devops/module-02-infrastructure-as-code/concepts/cluster-05-iac-beyond-terraform/15-policy-as-code-opa-sentinel-tfsec-primary.md
  • App: production
  • Semester: semester-09-cloud-devops
  • Module: module-02-infrastructure-as-code
  • Unit kind: concept
  • Curation level: module_curated

Learning objectives

  • Explain Policy as Code: OPA, Sentinel, tfsec as a repeatability, reviewability, and drift-control problem instead of just writing configuration files.
  • Use Policy as Code: OPA, Sentinel, tfsec to reason about safe change, environment consistency, and the cost of unmanaged infrastructure state.
  • Use git-from-the-bottom-up, pro-git, the-linux-command-line to connect the learner page to provisioning workflows, state management, policy, and operational recovery paths.

Prerequisites

  • Comfort with cloud platform primitives and the idea that infrastructure should be repeatable, reviewable, and recoverable.

Source books

  • git-from-the-bottom-up
  • pro-git
  • the-linux-command-line

Source routes

Git From The Bottom Up

Pro Git

The Linux Command Line

Supporting curriculum routes

No supporting curriculum routes linked yet.

External enrichment

  • Terraform Documentation (official_docs_companion) - Connects infrastructure-as-code concepts to a widely used operational workflow with concrete state and plan semantics.
  • AWS CloudFormation User Guide (optional_deep_dive) - Helps learners compare different IaC models and understand provider-managed deployment tradeoffs.

AI companion modes

  • Explain simply
  • Socratic tutor
  • Challenge my understanding
  • Diagnose my confusion
  • Generate extra practice

Source-of-truth note

This teaching unit is learner-facing guidance assembled from multiple canonical book routes. Use the listed source books as the primary conceptual spine for Policy as Code: OPA, Sentinel, tfsec, and treat outside material as supporting enrichment only.