Terraform Guardrail
Facilitates the generation of valid Terraform code and enforces ephemeral-values compliance for multi-cloud environments.
Terraform Guardrail provides a Python-based MCP server, CLI, and web UI to assist AI assistants and platform teams in creating compliant Terraform configurations. It tackles critical issues such as configuration drift, the accidental leakage of sensitive information, and the incorrect usage of cloud providers. By offering an MCP server for metadata and compliance, a CLI for scanning, and a web UI for reports, it ensures robust secret hygiene and proper management of ephemeral values across multi-cloud infrastructure.
Key Features
01MCP server exposing provider metadata and compliance checks
02CLI for scanning Terraform configurations and state for sensitive leaks
03Minimal web UI for quick scans and compliance reports
04Rules engine focused on ephemeral values, write-only arguments, and secret hygiene
05Terraform snippet generation for common AWS/Azure resources
061 GitHub stars
Use Cases
01Preventing configuration drift in multi-cloud deployments
02Ensuring valid provider usage and ephemeral-values compliance for platform teams
03Detecting and mitigating secret leakage in Terraform files and state