r/devops • u/FaithlessnessEqual44 • Sep 01 '26
AI content Anyone else seeing AI make DevOps/infra the bottleneck?
I'm curious if other DevOps/platform/SRE teams are running into the same thing my team is.
We're a fairly large environment, mostly EKS, and essentially 100% IaC/Terraform. We also support multiple companies/business units, so while I'd argue our infrastructure is fairly well organized, there's inherently a lot of it and a lot of architecture and context to understand.
Over the last year, our devs have sped up dramatically with AI. The company has leaned heavily into AI-assisted development, reduced developer headcount, and is now pushing toward developers being more "full stack with AI," including having them contribute more of their own infrastructure changes.
In theory, I'm completely in favor of that. I've always wanted developers to be able to own more of the infrastructure surrounding their applications.
In practice, though, it has been kind of a disaster.
We're getting flooded with infrastructure PRs largely written by Claude/other AI tools from developers who don't really understand the infrastructure they're modifying. The Terraform might look plausible, but once you understand the larger system there are frequently significant problems with it.
So instead of reducing the workload on DevOps, it feels like AI has massively increased it.
A huge percentage of our time is now spent reviewing AI-generated Terraform, finding problems, explaining why something won't work, explaining how AWS/EKS/networking/IAM/CI/CD/etc. fit together in our environment, and then going through another iteration of an AI-generated PR.
There's an interesting asymmetry I've noticed too. Our DevOps team is mostly made up of former software developers who moved toward infrastructure, automation, and pipelines. Most of us can jump into application code and be productive pretty quickly, especially with AI helping us. Like,...I feel like (and have some evidence to support) that our small DevOps team could largely take over all of the dev's tasks, but they are falling on their faces trying to deal with ours.
AI seems extremely good at helping someone who understands software write more software. It seems much less capable of allowing someone without infrastructure experience to suddenly understand a large production environment.
The complaint we're increasingly hearing is basically: "We can't successfully do full-stack development with AI because the infrastructure is too complicated."
And maybe they're right, but before AI, I would have said that this company is the most organized and best architected I've ever been at. I mean....100% IaC has never been something I've experienced, and it's very rare that we hit a use case brought up by one of the several companies where we don't already have a set of generalized modules that can't support it.
Our environment is complex, but a lot of that complexity isn't accidental. We have a large organization, multiple companies we deploy for, Kubernetes, networking, security requirements, IAM, CI/CD, observability, etc. You can't abstract away the fact that these things exist. And we're already 100% Terraform/IaC, which I would have thought would make this considerably easier for AI to reason about than an environment full of manually configured infrastructure.
The strangest part is the staffing effect.
AI allowed the organization to reduce software engineering headcount because individual developers became more productive. But now those remaining developers can generate changes so quickly that our DevOps team is completely overwhelmed trying to support and review them.
It genuinely feels like we could double the size of the DevOps team right now and still have plenty of work. We are working on an AI assistant that can help the devs deploy to our environment more effectively, but we're having a hard time finding time to work on it because we're constantly helping the devs.
I'm starting to wonder whether this is going to be a broader consequence of AI-assisted development: AI increases the rate at which software can be produced much faster than it increases the rate at which infrastructure/platform teams can safely absorb changes.
For those of you working in DevOps/platform/SRE at companies heavily adopting AI:
Are you seeing this too?
And if you are, how are you handling it?
Have you increased platform/DevOps staffing? Built better abstractions or internal developer platforms? Given developers more direct infrastructure ownership? Put stricter boundaries around what application teams can modify? Found ways of giving AI enough context about your infrastructure that it actually produces good changes?
Or has AI actually reduced your infrastructure workload, and we're doing something wrong?
23
u/twistdafterdark DevOps Sep 01 '26 edited Sep 01 '26
Do their agents have access to accurate and sufficient context regarding your entire infrastructure? If not then the agents are likely making all the wrong assumptions for the PRs.
edit: fixed typos
41
u/SuperQue Sep 01 '26
Seems ok.
I think there might be your problem. Over the past few years we've been massively shrinking our TF footprint.
Our primary developer infrastructure interface is Kubernetes. So we've been replacing anything where a dev needs to do TF with a Kubernetes CRD. We've wrapped the infra in such a way that there's only a few knobs to turn.
This allows things to be a lot more self-service. Infra doesn't even get PRs for a lot of this and we spend more of our time improving the underlying self-service nature of the system.
3
u/guhcampos Sep 01 '26
What some call a bottleneck, others call guardrails.
2
u/AminAstaneh Sep 01 '26
I actually did a talk about this very subject:
https://www.youtube.com/watch?v=eGsBawFwH90
Thesis: writing code used to be the constraint in delivering software. Thanks to LLMs, the constraint has moved to its operation.
159
u/azjunglist05 Sep 01 '26
We fortunately solved this before LLMs came into the equation where I work. We accomplished it through opinionated, self-service IaC. Everything our developers use to build infrastructure is wrapped up in a well defined interface that platform teams developed with very strict rules and design philosophies that ensures truly declarative IaC.
Our developers have been deploying infra entirely on their own for a couple of years now. We only get involved to troubleshoot what are most commonly user errors. Once the developers had a Swiss Army knife for all infra they were more compelled to make it better than build their own solutions
11
u/HeligKo Sep 01 '26
AI effectiveness is ultimately about context. For most programming and software development tasks there is a ton that it could have been trained on, and the problems being solved often only differ in context. Now here comes infrastructure, and even though the engineering principles are largely the same, the actual implementations vary wildly. If the model doesn't have a way to understand the big picture and the details of your environment, then it will do it's best based on the code it is working with. As a platform engineer, I call this job security. AI makes my job easier, but it needs me.
19
u/killz111 Sep 01 '26
It's called slop. I'll bet even when the changes are decent the developers and Claude just fail to account for dependencies on apply so you get random weird failures.
Dont get me started on resources in the cloud that never delete so a recreate needs an import.
I'm dealing with the same thing where a senior software engineer is proactive in creating tf but then constantly asks for help on shit they wrote that doesn't apply properly.
You have some choices. If the organisation wants more slop, you have to implement some basic guarails that protect your stateful resources. Scanning tf output with AI then blocking on state full resource delete is an example.
Everything else just let it through but make sure to assign cause of any breakages and track those. I call it blame because what else can you do when people throw shit at environments that they dont understand?
4
u/[deleted] Sep 01 '26
Absolutly, DevOps and Infra is our current bottleneck and it was that before, but now it's just extreme. That tells you something: DevOps is important and pretty safe.
2
u/crawdog Sep 01 '26
Yes. I think SaaS is being replaced by OaaS. Operations is hard.
2
u/aragossa Sep 01 '26
the CRD/self-service route people are describing is the right long-term call. it's also a multi-quarter platform build, so it doesn't do anything for this week's PR pile. a policy-as-code gate in CI, checkov or tfsec or OPA/conftest against the plan JSON, catches a lot of the structural garbage on its own, wildcard IAM roles or something sitting there unencrypted that shouldn't be, without needing any of the environment context a human reviewer or the AI writing the PR would actually have to have. it won't get you the architectural correctness DevWorkflowBuilder's blast-radius check is going after, but I'd guess a decent chunk of what's flooding review right now just fails one of those checks automatically and never makes it to a person.
2
u/Lachtheblock Sep 01 '26
See your problem is that you care about quality. Maintainability and uptime are what are holding you back. Once you decide to just be bad at your job, things will be much easier... for a while...
I'm an application developer, and the slop can roll in, but only when the authors also don't care. I can pretty much guarantee that the slop infra PRs are of the same quality as their application PRs. It's just that to unwind and bug fix infra is far more painful.
2
u/Oflameo Sep 01 '26
I would respond to this by putting them on shared hosting.
1
u/Helpful-Man64 Oct 28 '26
The bottleneck isn't necessarily writing infrastructure code anymore; it's reviewing changes with enough context to understand their impact. Policy-as-code, automated plan reviews, dependency checks, and risk-based approvals can help. AI is most valuable when it reduces operational toil without bypassing the controls that keep infrastructure reliable.
1
u/scrambledhelix making sashimi of your vpc Sep 01 '26
Thanks for the post, I feel like I haven't seen this specific point addressed too much, and it was definitely a trend starting at my last SRE gig.
1
u/Pretend_Listen Sep 01 '26
Yes, your describing our infra org. Trying to make all the things devs touch dummy proof. Any complex tf requires review.
Been creating several CRD interfaces to help with this
1
u/iotmos Sep 01 '26
I share the same experience , Dev Team velocity exploded , but the main issue is defining boundaries and paved roads for infrastructure so LLM generates code within these boundaries , Infrastructure's context is difficult to put in every repository of every app , but building starters , infrastructure schemas that can be adopted directly by dev teams help tremendously.
1
u/Ok-Analysis5882 Sep 01 '26
On an average i reject 15 to 20 terraform PR a day
1
u/RevolutionaryElk7446 Sep 01 '26
We had deterministic automation and it ran well
We introduced LLMs and it went bad, for 5 years we tried to meet or exceed the prior setup.
We moved back to primarily deterministic automation. CEO still wants us using AI so it look at things like Change Requests now.
1
u/Solitairee Sep 01 '26
Our engineers manage the infrastructure themselves. We've trained them up to be full stack and we provide the tools for them to understand the infra
1
u/CartoonistStriking62 Sep 01 '26
Are you using a framework around Terraform, or mostly vanilla Terraform? Do you have a comprehensive CLAUDE.md that defines your conventions, guardrails, and parameters, along with opinionated SKILL.md files for common workflows?
We use Atmos as an orchestration layer for Terraform, Helm, and Packer, and it’s been working pretty well for us. We’ve standardized the workflows enough that developers can self-service a lot of infrastructure changes without needing the infrastructure team to walk them through every step.
1
u/derprondo Sep 01 '26
Like others, we solved this many moons ago by segregating every project into its own separate cloud provider account, and forcing the project owners to operate in a self-service manner, ie they own their own terraform and maintain it themselves. We provide the platform and the pipelines for them to use, as well as the security governance to keep them from making egregious mistakes.
1
u/ArtitusDev Sep 01 '26
Use ai to write iac
1
u/SamfromLucidSoftware Sep 01 '26
One thing you can do in the short term is limit how much damage a bad PR can do instead of trying to keep up with review volume. Things like tighter module boundaries, stricter automated policy checks that catch AI generated mistakes, being clear with devs about which parts of the infrastructure they can touch and which require DevOps involvement. Basically, the goal is filtering the queue before it reaches the team.
But yes, the bottleneck is shifting and in your case, the PR review bottleneck is a predictable outcome of the headcount. If you reduce engineering headcount because of individual output increases, but that output still has to flow through the same review and validation, then you’ve just shifted it downstream and concentrated it there. The AI assistant you’re building sounds like the long-term answer here.
1
u/DolGuldurWraith Sep 01 '26
Ideally devops/infra should also speed up with the use of AI if ur Setup was planned better before the whole AI thing.
If ur setup is planned in such a way to it scales easily then AI helps u bring up infra much faster and match speed with Development.
e.g. in our case we creating a new env with all infra in 2 days compared to 2 weeks earlier.
Claude create all the files needed in 2-3 hrs and then its all just terraform apply with 1 hr per env and we have 4 env with eks, msk and opensearch taking most time to get deployed
1
u/Purple_Mo Sep 01 '26
Not DevOps But other areas we can use ai - others not by policy The dynamic is crazy
1
u/Fentrax Sep 01 '26
Just make the same seam between dev and infra in agentic and general ai use. Your assistant DOES know that nuance, and theirs doesn't need to. Your side will counsel on best practices for infrastructure, etc etc. register compatible requests and process them, educate and offer alternatives that do conform instead to their bot, who in turn educates the originator.
You people are all making this transition too hard. If your business already has departments, then agents should be specialized within the department. Business as a whole owns agent to agent policy and protocols, just like it does with business process and humans.
Then, you can start deploying specialty moe variants for cross department workflows... RAG, documentation files, memory, attribution, etc is all part of it. AI doesn't magically change everything without an intentional use driving it that way.
Definitely bake in executive layers too. Eventually, the board just queries the CEO bot, and the entire swarm of bots coordinates underneath that at diminishing levels of scope.. some poor sod will have 23% of their weekly/daily token allowance, and have to figure out how much they will do by hand vs their bot...
1
u/codemochi Sep 01 '26
I've seen this too. Part of the problem is that AI enables developers to be more productive by supercharging them with general knowledge, while infra review runs on context that's built up after managing a number of deployments and getting a feel for what to expect and which changes are typical churn versus big deals. When you read through the HCL files you have to rebuild "how does this change fit with our environment?" in your memory. This can get crazy when managing many stacks though.
What helped was generating a terraform plan file and then comparing it to older copies of that plan for that stack. Then you still are building up muscle memory that "Stack A is always noisier because of reasons X,Y,Z" and "Stack B is quiet because it is smaller and not used much" but at least there's a more quantitative lens you can apply.
You can do this cheaply by posting add/changes/destroys/replaces summary in the PR commit and add auto-labels if numbers are above a fixed value.
1
u/See-9 Sep 01 '26
Devs and AI basically require a platform capable of a Containers as a Service model. And even then, you still have some issues, unless you really set your permissions up front for where the app registrations go - but yeah. I’d you’re doing VMs or managing stuff outside GitOps - good fuckin luck.
1
u/ap12219 Sep 02 '26
Have you looked into Spacelift?
1
u/modern_medicine_isnt Sep 02 '26
Create an AI agent with knowledge of the entire infrastructure (just tell it to read it and create context). Then "teach" it to review the prs. Tell them they have to pass it's review before you review it.
1
u/mazznac Sep 02 '26
Sounds like some kind of custom MCP server providing domain knowledge with all your infrastructure conventions as well as the entire architecture laid out perhaps could help? We do something like that at my company.
1
u/matthewmdn Sep 02 '26
I think the right answer to this is not shifting infra left, but DevOps using AI to achieve the promise of platform engineering. You provide devs with re-usable well documented mechanisms for getting their service into production with best practices and your architecture built in.
The original challenge with this was staying ahead of developers’ needs and providing the polish required to gain adoption. With AI we DevOps folks can take on those issues.
1
u/External_Laugh_4960 Sep 02 '26
The bottleneck currently always seems to be the guys/department not (yet) using AI as an efficient tool...
1
u/tier2_dev Sep 02 '26
the "looks plausible" part is the whole problem, and it's worse for infra than for code. a compiler catches a bad function signature. nothing catches a terraform block that's valid, applies cleanly, and quietly deletes the staging DB backup policy nobody remembered existed
the pattern that's been working for us: treat AI-generated infra changes like a junior with write access. every PR has to attach what it actually changes (created/changed/destroyed), who gets paged if it breaks, and the plan output. if the diff can't explain its own blast radius, it doesn't get reviewed, it gets sent back
the other thing: give the AI a narrower leash, not a longer one. we stopped letting agents propose whole modules and made them work against a wrapper template. the PRs got boring, which is exactly what you want from infra
1
u/matadordepassarinhos Sep 02 '26
Two problems: not having a PaaS abstraction for devs and not giving enough context to their AI agents. Terraform documentation was and is pretty good, so the LLM knows better than us how to write terraform code.
1
u/canyoufixmyspacebar Sep 03 '26
who is managing technology in this company? without management and leadership, everything turns into shitshow. with AI, it just turns into a shitshow faster
1
u/Green-Engineering156 Sep 04 '26
This sounds less like AI removing work and more like moving the bottleneck downstream.
I wonder how much of the extra review time is actually fixing bad Terraform vs. explaining context the devs/AI didn't have in the first place.
If it's mostly the second one, then another AI reviewer probably doesn't solve much. Maybe the useful thing is getting more of that environment-specific context and the important guardrails in front of the dev/AI before the PR gets to your team.
The part about being too busy reviewing these PRs to build the assistant that's supposed to reduce the PR load is kind of brutal though 😅
1
u/pluviofiele Sep 13 '26
This feels less like an AI problem and more like an interface problem that AI exposed. If the safe way to request infrastructure is “write arbitrary Terraform and hope review catches everything,” humans already had too much freedom. A narrower platform contract where teams declare intent and the platform owns implementation gives both humans and agents a much safer surface to work against.
1
u/usually_guilty99 Sep 16 '26
This feels like the inevitable next bottleneck. AI made producing the infra change cheap. Understanding whether that change is safe in the actual environment is still expensive.
A Terraform diff can look perfectly reasonable and still be dangerous because of topology, dependency state, capacity or prior incident history.
The review question has to move from “is this valid IaC?” to “what does this actually put at risk in production?”
1
u/liamsi42 Sep 17 '26
I think there are two different effects getting mixed together here.
The first is simply a bottleneck moving downstream. If AI lets developers produce changes 2–3x faster, but review, testing, infrastructure validation, deployment, and operations have roughly the same capacity as before, the organization hasn't necessarily become 2–3x more productive. You've increased the arrival rate of work at the next constrained stage of the system. In your case, that appears to be DevOps.
But I think the second effect is more important: AI is very good at amplifying expertise, and much less reliable as a substitute for expertise.
An experienced infrastructure engineer using an agent can probably produce Terraform much faster, because they know what they want, recognize when the agent has made a bad architectural assumption, and know what questions to ask. Someone who doesn't understand IAM, networking, EKS, or the organization's deployment architecture can also produce Terraform much faster—but now you've accelerated the production of changes that require expert review.
That can actually make the expert more of a bottleneck.
I don't think the long-term answer is simply adding enough DevOps engineers to review an ever-growing stream of generated Terraform, though. Several comments here about platform engineering and constrained interfaces are pointing in the right direction.
If most application teams only need some finite set of infrastructure capabilities, expose those capabilities as higher-level, opinionated abstractions with automated validation and guardrails. Let the platform team own the implementation complexity and provide an escape hatch for cases that genuinely require it.
Then AI can operate against those abstractions too. Instead of asking an agent to invent arbitrary infrastructure, you're asking it to express developer intent through an interface whose valid state space has already been constrained by people who understand the system.
More generally, I think we're going to see this pattern in a lot of software organizations. Making code generation dramatically cheaper doesn't make architecture, validation, integration, deployment, or operations dramatically cheaper. It changes where the scarce engineering expertise is needed.
The organizations that get the largest productivity gains from AI may therefore not be the ones that generate the most code. They'll be the ones that redesign the rest of their engineering system to handle the increased generation capacity.
1
u/usually_guilty99 Sep 19 '26
This feels less like DevOps becoming the bottleneck and more like context becoming the bottleneck.
The Terraform can be syntactically perfect and still be wrong because the risk lives in dependencies, IAM, network topology, production history and blast radius.
We can’t solve 10x change velocity by asking infrastructure engineers to manually reconstruct that context 10x faster. The context has to be assembled automatically around every change.
1
u/Helpful-Man64 Sep 30 '26
This is an interesting side effect of AI-assisted development. The faster application development becomes, the more important the infrastructure context becomes.
We’re working on a related problem at Wanclouds with WANDA. One of the things we’re trying to make easier is giving engineers a conversational way to understand what's actually happening in their infrastructure before making changes.
I think there's a useful distinction between AI making infrastructure changes and AI helping engineers understand infrastructure. The second seems like a much easier place to build trust first.
1
u/josejulianariza Oct 20 '26
Totalmente identificado, y desde afuera se nota que no es cosa de tu equipo.
Sobre tus preguntas: el personal de plataforma casi no se movió, y la mayoría está resolviendo con parches. Construir mejores abstracciones queda como intención, porque el día se va en atender los PRs.
Lo que sí veo funcionar, aunque no resuelve el fondo, es mover la parte determinista al CI. Si las reglas de red o IAM se validan en el pipeline, el PR se cae solo antes de que alguien lo mire. Y no dejar que se escriba Terraform desde cero con IA también ayuda: con módulos pre-aprobados la topología queda acotada.
Igual, la velocidad de generar cambios creció mucho más rápido que la de absorberlos. No creo que estés haciendo algo mal.
1
u/Puzzled-Garage584 Oct 27 '26
Classic throughput mismatch. AI scaled the producers, nobody scaled the consumer. Your team is now a queue with no back-pressure, and the lag only goes one way.
When something gets cheap, whatever it depends on gets valuable. Writing Terraform got cheap. Understanding the system didn’t.
What I’d try:
terraform plansummary in the PR. Reject the obvious stuff before a human ever opens it.Also worth saying out loud to management: headcount moved from writing code to reviewing it. The work didn’t disappear, it changed queues.
(The fact that your devs struggle with a 100% IaC setup is a compliment to your infra, not a bug report.)
1
u/Exotic_eminence Sep 01 '26
I’m a platform SRE and I been out of work since AI came out- is yall hiring or na?
0
u/chocopudding17 Sep 01 '26
This post is AI slop
-2
u/no_ragrats Sep 01 '26
I'm an app dev by trade, but also dabble in the devops, design, architecture and have focused on resolving bottlenecks at times. Take this with a grain of salt, but here's what my strategy would look like.
0
u/OrangePixelLife Sep 06 '26
You're hitting on something important. It feels like a lot of AI productivity gains are getting lost because the context it needs to work effectively just isn't there yet, especially for complex infrastructure. The asymmetry you're seeing makes total sense. AI helps you execute faster, but it doesn't teach you the decades of ops lessons baked into your environment.
We see a similar dynamic from the AI cost side. When devs use AI to generate code rapidly, their API bills can spike without any visibility into which projects or features are driving it. That creates a new kind of bottleneck where you're producing faster but optimizing in the dark.
What we built at SpendLens essentially connects to your OpenAI or Anthropic account to show you exactly what's driving your costs, down to the project or API key, and suggests more efficient models to test. It's just a lightweight wrapper, no proxy or rewrite, so your devs keep their speed while you get the oversight. You can validate any change in a test environment first. Maybe that's a parallel problem your team is facing with the increased dev velocity?
For your core issue, it sounds like the bottleneck isn't just review bandwidth, it's about injecting your team's hard-won context into the devs' workflow. Has anyone tried building a custom GPT or fine-tuning a model on your internal module docs and past PR reviews? That could give the AI a fighting chance.
0
u/Imaginary-External93 10d ago edited 10d ago
Interesting discussion. I’m building Osier, a tool for safely executing infrastructure changes proposed by AI coding agents.
The idea is that agents can generate OpenTofu changes, but before anything gets applied, Osier lets you inspect the plan, understand potentially destructive changes, and enforce approval policies.
I’m particularly interested in whether teams would trust AI agents with infrastructure changes if they had this kind of execution boundary.
Would love feedback from people managing infrastructure in production. Is this a problem you’d want solved, or does your existing workflow already cover it?