Introducing Two New Ways to Use Terracotta AI across your Terraform Workflows

Introducing Two New Ways to Use Terracotta AI across your Terraform Workflows

We're excited to announce two new features that expand how you can use Terracotta AI in your Terraform workflows: HCP Terraform Run Tasks and a brand-new Terracotta AI API.

These updates make it easier than ever to integrate Terracotta AI with your existing infrastructure pipeline, whether you're fully committed to HCP Terraform/Enterprise, building internal tooling, or simply seeking more control.


🧠 Terracotta AI + HCP Terraform Run Tasks

Terracotta AI now integrates directly with HCP Terraform and Enterprise using the Run Tasks.

This means Terracotta AI can run pre-merge checks, such as plan analysis, drift detection, and guardrails, automatically as part of your TFC workflow.

🔧 How it Works

  • Set up a Run Task integration in your Terracotta AI dashboard
  • Add the generated callback URL + HMAC key to HCP Terraform
  • Attach the Run Task to one or more workspaces (at the post-plan stage)

✅ What We Analyze in HCP Terraform:

  • Security misconfigurations
  • Compliance violations
  • Cost anomalies
  • Best practice gaps
  • Drift or resource mismatches

💥 Key Benefits:

  • Zero manual setup per repo - attach the run task once
  • PR-level insight before deploys - catch risk early
  • Mandatory or advisory - block risky changes or surface them for review
  • Central visibility across orgs and workspaces

This is IaC guardrails built into your actual HCP Terraform run. Not a separate scanner. Not post-merge. Real enforcement right where you need it.


🔌 New: The Terracotta AI API for Terraform Workflows

For teams building internal tooling, developer platforms, or just wanting more control, we’ve launched the Terracotta AI API.

You can now call all our core analysis endpoints (plan, drift, summary, guardrails, and conversations) directly, without requiring GitHub integration.

🛠️ What You Can Do:

  • Send Terraform or CDKTF diffs for instant analysis
  • Get AI-generated summaries of infrastructure changes
  • Run drift checks programmatically
  • Enforce guardrails with custom logic
  • Build custom workflows or dashboards with our Conversations API

🔐 Authentication

  • Authenticate via x-api-key or Authorization: Bearer header
  • You can manage API keys from your Terracotta AI dashboard

🌟 Key Benefits:

  • No GitHub required use anywhere, any pipeline
  • Complete control - custom triggers, custom UX, and custom enforcement
  • Build your own AI-powered IaC platform
  • Use Terracotta AI logic in CI/CD, Slack bots, internal UIs

This unlocks new use cases, such as custom developer portals, internal drift dashboards, or tightly controlled compliance flows that still benefit from Terracotta AI's Terraform expertise.


Ready to Get Started?

Whether you want plug-and-play enforcement in HCP Terraform or programmatic access to everything we do, these updates give you more power, more flexibility, and more confidence at scale.


Stop Building Backwards AI Workflows for Infrastructure as Code

At Terracotta AI, we built our platform around this principle. Instead of post-merge explanations, we provide pre-merge intelligence.

Terraform changes break things. Our AI catches them in the PR.

We analyze your Terraform changes right inside the pull request, before they hit your pipeline. Our AI understands your code, state, and live infrastructure context to automatically detect drift, missing dependencies, cost spikes, exposed secrets, and blast radius issues.

No workflow changes required. We work with your existing GitHub or GitLab process, providing the contextual intelligence that turns complex infrastructure plans into clear, actionable insights.

Ready to flip your workflow from backwards to intelligent?

👉 Learn more about Terracotta AI here: https://tryterracotta.com

Carlos Feliciano

Carlos Feliciano

Founder & CEO of Terracotta AI (YC S23), former director of solutions architecture @OpsRamp, Cloud Connoisseur.
San Francisco Bay Area