VOOZH about

URL: https://thenewstack.io/is-spec-driven-development-key-for-infrastructure-automation/

⇱ Is Spec-Driven Development Key for Infrastructure Automation? - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2025-11-21 11:00:56
Is Spec-Driven Development Key for Infrastructure Automation?
sponsor-bluebricks,sponsored-post-contributed,
AI / Operations

Is Spec-Driven Development Key for Infrastructure Automation?

AI excels at application code but struggles with Terraform's need for reproducibility. Blueprint-driven deployment can solve this infrastructure challenge.
Nov 21st, 2025 11:00am by Idan Yalovich
👁 Featued image for: Is Spec-Driven Development Key for Infrastructure Automation?
Featured image from Bluebricks.
Bluebricks sponsored this post.

Since GitHub Universe and the announcement of GitHub Spec Kit, spec-driven development (SDD) has taken the dev world by storm. The premise is compelling: Give AI agents structured context through markdown specs before they write code, and you’ll have it all. An end to hallucinations about APIs, rushed coding and low-quality outcomes.

With SDD, AI agents will work more like human developers who receive product requirements documents (PRDs), break down tasks and execute systematically.

The concept formalizes what development teams have done for years. A product manager writes requirements. Developers digest the PRD or specifications, break the work into tasks and start coding. SDD simply structures this workflow for the AI era, turning natural language specifications into the context large language models (LLMs) need to generate meaningful code.

As someone who lives and breathes DevOps and platform engineering, I found myself asking the obvious question: What does this mean for infrastructure work? Should we be racing to adopt SDD for our Terraform modules and Kubernetes configurations?

Infrastructure Code Isn’t Application Code

Infrastructure code looks like code, but it behaves very differently from application code.

Look at any Terraform file, Helm chart or CloudFormation template. What do you see? Specifications. Infrastructure as Code (IAC) is already spec-driven by design. It is declarative. We describe the desired state. We say “I want a database with these properties,” not “Execute these commands to create a database.”

But here’s where things get interesting.

  • Application code favors creativity. Give 10 developers the same feature request, and you’ll get 10 different implementations. Each might be valid, elegant in its own way. The goal is to solve business problems with novel approaches, optimize for user experience or find clever performance improvements. There’s value in that diversity of solutions.
  • Infrastructure code favors reproducibility. When I spin up infrastructure in us-east-1, eu-west-1 and ap-southeast-1, I need identical configurations. Same networking setup, same security groups, same database configurations. Standardization means predictable costs, interchangeable parts and reliable disaster recovery.

This distinction matters for SDD because AI agents thrive on creative problem-solving but struggle with strict reproducibility. We don’t want an AI agent getting creative with our virtual private cloud (VPC) configuration. We want the exact same blueprint deployed perfectly every time.

More importantly, infrastructure code rarely flows from spec to implementation. Consider how infrastructure actually evolves. FinOps adjusts instance types to optimize costs. Security patches a vulnerability directly in production. Someone scales a database through the console during an incident. Your Terraform still describes the original state, but reality has moved on. This is drift: when your actual cloud resources no longer match your IaC. Infrastructure teams work backward, constantly updating specifications to match reality.

​​SDD assumes a forward flow from requirements to code. But that’s not the way platform teams work. We don’t need AI to write more Terraform from specs; we need something else entirely.

👁 Image

The Real Automation Gap Is Deployment Orchestration

SDD will influence infrastructure work, but not always in ways platform teams will celebrate.

Today, developers are already 10 times more productive with AI copilots than they were just a few years ago. SDD promises to push this even further: complete modules generated from specifications, entire features materialized from markdown plans. The volume of application code will explode.

All this code needs somewhere to run. Every feature needs infrastructure. Every microservice needs its database, message queue and networking. The acceleration in code production creates unprecedented pressure on deployment velocity.

Yet deployment remains stubbornly manual. While developers get AI assistants that turn specs into code, platform engineers still coordinate complex deployments by hand. We can generate a complete microservice in a few hours, but spend days figuring out how to safely set up and deploy its infrastructure.

👁 Image

Why AI Agents Can’t Orchestrate Infrastructure Deployment

The barriers to AI-driven deployment are structural problems in the way infrastructure code is organized today.

  • Terraliths: Monolithic nightmares. We’ve created massive Terraform files where specifications, values and logic are tangled together. A single file might define networking, databases and application configuration all mixed up. Small changes cascade unpredictably. There’s no way to understand blast radius when everything touches everything else.
  • Heterogeneous tooling. A single environment uses Terraform for infrastructure, Helm for Kubernetes, as well as Python scripts. Each with different inputs, outputs and state management. Orchestrating across them requires understanding hidden dependencies that aren’t documented anywhere.
  • Working backward from drift. Infrastructure teams constantly reconcile drift, updating code to match reality. AI agents would first need to map what actually exists across all clouds, regions and accounts before even attempting to update anything.

What we really need is to restructure infrastructure to be AI-ready.

Blueprint-Driven Deployment: Infrastructure for the AI Era

The path forward is clear. We need to transform the way infrastructure is packaged, deployed and managed. Here’s how to make infrastructure AI-ready:

  • Transform every piece of infrastructure. Turn every Terraform module, Helm chart and Python script into artifacts with normalized inputs and outputs. These artifacts become reusable building blocks that assemble into blueprints.
  • Assemble artifacts into clear, versioned blueprints with well-defined boundaries. A database blueprint creates databases. A networking blueprint handles VPCs and subnets. No mixing, no confusion.
  • Publish them to a catalog. Decide which ones to surface to AI agents so they know what’s safe and allowed to deploy.

👁 Image

This approach solves the structural problems we mentioned earlier:

  • Terraliths get decomposed into artifacts and blueprints. That 10,000-line monolith becomes a collection of focused components, each with its own life cycle and clear interfaces. Changes are scoped. Blast radius is contained. AI works with the blueprints, not the tangled code.
  • Heterogeneous tooling becomes unified. Terraform, Helm, Python, etc., all become artifacts with standard inputs and outputs through normalization. The orchestration layer doesn’t care what created the artifact.

With that in place, you can tackle the drift problem:

  1. Regularly map what exists: Discover actual cloud state across all accounts and regions into a cloud graph.
  2. Extract patterns from production and create/update blueprints.

👁 Image

The cycle becomes sustainable: Reality informs blueprints, blueprints guide deployment and deployment is tracked in the graph.

Now an AI agent can actually work:

Request: “We need to expand to Asia-Pacific for lower latency.”

The agent queries the blueprint catalog and cloud graph, and finds the standard regional infrastructure blueprint already running in the United States and Europe. It understands dependencies from the graph, networking databases before applications.

“I’ll deploy regional infrastructure blueprint v2.3 to ap-southeast-1. Based on the dependency graph, this takes 12 minutes. No existing resources affected.”

One approval. The orchestrator handles the rest.

👁 Image

Infrastructure Is Different From Application Code

Spec-driven development makes sense when you’re building features. It doesn’t when you’re building the platform those features run on.

Infrastructure needs:

  • Blueprints, not specs: Reusable, versioned patterns you can roll out across regions and environments.
  • Orchestration, not just code generation: Coordinated, multistep workflows across infrastructure, configuration and apps.
  • Clear boundaries, not entangled modules: Well-defined scopes per blueprint and artifact so changes stay contained.
  • Cloud graphs, not code dumps: A live view of what actually runs in every account, region and cloud.

The future isn’t AI agents generating Terraform. It’s AI agents executing deployments safely by using prevalidated blueprints.

This is how AI finally enters the deployment game.

Bluebricks is an environment orchestrator that transforms IaC, configuration tools, and scripts into reusable, versioned blueprints, ready for AI Agents. It lets teams deliver complex production-ready environments with just one click, regardless of the underlying configuration, IaC, and cloud.
Learn More
The latest from Bluebricks
TRENDING STORIES
Idan Yalovich is cofounder and CEO at Bluebricks, an environment orchestration platform that transforms Infrastructure as Code, configuration tools and scripts into reusable, versioned environment blueprints, ready to be delivered by agents.
Read more from Idan Yalovich
Bluebricks sponsored this post.
SHARE THIS STORY
TRENDING STORIES
TNS owner Insight Partners is an investor in: Real.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.