~/talk

Policy as Code for Network as Code

Talkat HashiTalks 2022 · 2022-02-17..02-18· [networking, security]
slides:none on file

Demonstration uses Terraform Cloud + GitHub with three Sentinel policies attached to a workspace; Terraform plan shows six resources and Sentinel policies run at plan time to check tags, VPN ciphers and security-group CIDRs. A five‑to‑six‑line Sentinel rule detects DH group 2 and flags it; enforcement levels are advisory (missing tags), soft‑mandatory (can be overridden for legacy VPNs), and hard-mandatory blocks apply (0.0.0.0/0 ingress stops apply), so policy prevents risky network changes before they reach devices.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 1:53Network automation evolution
  3. 4:46Infrastructure as Code benefits
  4. 7:16Policy as Code for guardrails
  5. 12:45Demo setup and workspace creation
  6. 15:21Policy checks during Terraform plan
  7. 17:58Terraform apply and policy enforcement
  8. 18:42Modifying configuration and policy failure
  9. 21:50Overriding soft mandatory policies
  10. 22:10Hard mandatory policy enforcement
  11. 24:20Key takeaways and conclusion
~/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.