Skip to content
AI can write your infrastructure code. There's a reason most teams won't let it. episode artwork

Mar 20, 2026 29 min

AI can write your infrastructure code. There's a reason most teams won't let it.

from The New Stack Podcast Hosted by Marcin Wyszyński, The New Stack, Spacelift, Frederic Lardinois

In this episode ofThe New Stack Agents, Marcin Wyszynski, co-founder of Spacelift and OpenTofu, explains how AI is transforming infrastructure as code (IaC). Originally built for individual operators, tools like Terraform struggled to scale across teams, prompting Wyszynski to help launch OpenTofu after HashiCorp’s 2023 license change. Now, the bigger shift is AI: engineers no longer write configuration languages like HCL manually, as AI tools generate it, dramatically lowering the barrier to entry. However, this creates a dangerous gap between generating infrastructure and truly understanding it—like using a phrasebook to ask questions in a foreign language but not understanding the response. In infrastructure, that lack of comprehension can lead to serious risks. To address this, Spacelift introduced Intent, which allows AI to directly interact with cloud systems in real time while enforcing deterministic guardrails through policy controls. The broader challenge remains balancing speed with control—enabling faster experimentation without sacrificing safety. Wyszynski argues that, like humans, AI can be trusted when constrained by strong guardrails. Learn more from The New Stack about the latest developments around how AI is transforming infrastructure as code (IaC). The Maturing State of Infrastructure as Code in 2025 Generative AI Tools for Infrastructure as Code Join our community of newsletter subscribers to stay on top of the news and at the top of your game.

Episode details come from the podcast's RSS feed.

Embed this episode

In this episode of The New Stack Agents, Marcin Wyszynski, co-founder of Spacelift and OpenTofu, explains how AI is transforming infrastructure as code (IaC). Originally built for individual operators, tools like Terraform struggled to scale across teams, prompting Wyszynski to help launch OpenTofu after HashiCorp’s 2023 license change. Now, the bigger shift is AI: engineers no longer write configuration languages like HCL manually, as AI tools generate it, dramatically lowering the barrier to entry.

Ready to play

AI can write your infrastructure code. There's a reason most teams won't let it.

0:00 29:21

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of The New Stack Podcast?

This episode is 29 minutes long.

When was this The New Stack Podcast episode published?

This episode was published on March 20, 2026.

Can I download this The New Stack Podcast episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.