~/talk

Policy-Aware Infrastructure Generation: Using an MCP Server to Bridge OPA and AI for Terraform

Talkat XConf Europe 2025 · on Thursday, 2025-09-18· [ai-assisted-development, devops-and-delivery]
links:none on file
slides:none on file

Claims a working prototype that connects an MCP server to an OPA REST API so LLMs receive live constraints (allowed instance types, required tags, open ports) and generate compliant Terraform by default. Uses two MCP tools: TF config assistant and validate plan, VS Code discovery plus GitHub CI checks, OPA bundles in S3 and OPA on ECS Fargate. Demo builds and applies resources (EC2 and a Lambda) with fewer validation cycles — one run replaces iterative rework.

AI-written summary · about

  1. 0:00Policy-aware AI infrastructure
  2. 1:26AI needs policy enforcement
  3. 3:35Cloud governance with AI code
  4. 6:24Terraform and Open Policy Agent fundamentals
  5. 9:55Bridging AI with policies using MCP
  6. 14:08End-to-end MCP workflow
  7. 15:53Live demo without MCP
  8. 19:06Live demo with MCP
  9. 23:46Terraform apply with policy check
  10. 24:29Lambda with MCP
  11. 27:20Testing generated infrastructure
  12. 29:07OPA server setup
  13. 31:16MCP server details
  14. 32:19MCP features and resources
  15. 33:43Benefits for teams
  16. 34:26Limitations of approach
  17. 35:29Future outlook
  18. 36:32Key takeaways
~/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.