Package, File, Service
Back in the day, once you had enough servers to manage, Bash scripts became a real pain. God forbid you were still installing software by hand. We’re talking pizza boxes here, not VMs.
In my career, this is where Puppet entered the chat. Need accurate clocks across the fleet?
package { 'ntp': ensure => installed }
file { '/etc/ntp.conf': content => "server 0.pool.ntp.org\n" }
service { 'ntp': ensure => running, enable => true }
Package['ntp'] -> File['/etc/ntp.conf'] ~> Service['ntp']
This makes sure the NTP package is installed, the configuration file has the expected contents, and the service is enabled and running. The -> arrow sets the order. For fun, ~> also restarts the service if the file changes.
This is a pretty simple example. More realistically, you’d be using the Puppet NTP module. Behind it sits roughly a thousand lines of manifests, templates, defaults, and inline documentation, plus another seventeen hundred lines of tests. The module declares support for nine operating systems and distributions. That abstraction carries maintained knowledge about package names, configuration paths, service names, and platform differences.
We built reusable modules because writing and maintaining each variation was expensive for people.
I caught up with Alexis Richardson a few weeks ago. We met back when he was running Weaveworks and I was at Docker, and we ended up getting nostalgic about Sock Shop.
If you spent any time at container conferences back then, you saw Sock Shop. Weaveworks built it in about two weeks for DockerCon: an online store that sells socks, split into eight services in Go, Java, and Node, backed by MongoDB, MySQL, Redis, and RabbitMQ (which Alexis cofounded, naturally). For a lot of people, it was the first time a polyglot microservices app actually made sense. Ask me about “pet stores” someday.
The part I’d forgotten: it was supposed to run on any orchestrator. Docker Swarm, Kubernetes, Mesos, Nomad, ECS. Every one of those needed its own deployment config, and by the time the repo was archived in 2023, everything but Kubernetes and Docker Compose had been handed off to a community repo. Kubernetes alone shipped 29 manifests, an 890-line bundle generated from them, and a separate Helm chart. Same socks, three ways.
Alexis is building ConfigHub now, and I walked away with a question that’s been haunting my showers: how does that tradeoff change when an agent can just write whatever variation it needs?
The Language Was for Us
Puppet gave administrators a custom DSL specifically for describing resources and their relationships. Luke Kanies described the benefits as “compression and simplicity”: express substantial configuration concisely, limit the problem domain, and make it approachable without requiring users to become programmers. I think the key feature was that the language encouraged people to think in managed resources.
Remember, this was the old days before DevOps. Back when grumpy system admins like me roamed the earth.

Chef exposed more Ruby. Its recipes were a DSL embedded in Ruby, so authors could declare familiar resources and reach for ordinary Ruby when they needed additional logic or integrations. Adam Jacob emphasized extensibility. Julian Dunn later pointed to composition, introspection, and testing as reasons to treat configuration as software.
Puppet emphasized a constrained vocabulary that helped users express configurations the system could reason about. Chef preserved access to a general-purpose language so users could extend automation to problems its designers hadn’t anticipated. These were choices about how people would express, organize, understand, and maintain configuration. They also shaped what the machine could inspect, extend, test, and control.
The language was for us. The model was for the machine.
Now the Author Is a Machine Too
Fast forward to today. Agents writing all the Terraform.
HashiCorp had already been burned twice. Ruby in Vagrant and JSON in Packer meant your config was either a program or a steaming pile of hand-edited JSON. HCL split the difference: structured enough for software, readable enough for people.
Then people wanted loops. Armon Dadgar described wanting a user-friendly, declarative experience in the spirit of Puppet and CloudFormation, and Mitchell Hashimoto admitted their first designs underestimated what users would need. Modules, iteration, and conditionals showed up as soon as people tried to build anything complicated.
Let’s be clear: HashiCorp explicitly anticipated machine authorship. Terraform accepts .tf.json configuration, and the docs pitch it for programmatic generation. So the question isn’t whether a machine can write Terraform. It is:
Which parts of the human authoring interface does an agent still need?
Writing config for a fresh box is easy. Changing the config that’s already running a fleet is a different sport. If you haven’t been quaking in your Vibram toe shoes at the thought of touching a production server, well, you’re a better infra engineer than me.
Before an agent changes anything, it needs answers. What sets this value? What else uses it? Is the weird part weird on purpose? And where do those answers live? GitOps and IaC in a repo? An out-of-date CMDB? Whatever ext4 says?
The Work Before the Work
Say I ask Claude to give the image processor more memory in staging. Leave production alone.
If staging has its own variable and the plan shows exactly the change I asked for, great. The existing tools did their job. I don’t need a new configuration platform to change a number.
Now suppose staging and production call the same local module from separate root configurations, and the memory limit is a module default:
# modules/image-processor/main.tf
variable "memory_mb" {
type = number
default = 2048
}
resource "aws_ecs_task_definition" "image_processor" {
family = "image-processor"
memory = var.memory_mb
# cpu, container_definitions, ...
}
# envs/staging/main.tf and envs/production/main.tf
module "image_processor" {
source = "../../modules/image-processor"
}
There are two ways to give staging 4 GB. Override it in staging:
# envs/staging/main.tf
module "image_processor" {
source = "../../modules/image-processor"
memory_mb = 4096 # staging runs the full test corpus
}
Or bump the shared default:
# modules/image-processor/main.tf
variable "memory_mb" {
type = number
default = 4096
}
Run terraform plan in staging and both edits look identical: 2048 to 4096. One of them also changes production the next time anybody applies. A staging plan only tells you about staging.
A shared default is a fanout: one value, rendered everywhere that uses it. Alexis has seen the fleet-sized version. A one-line change to a global values file re-rendered almost every app in the fleet, while the same change in one cluster’s file re-rendered a little over a hundred. The diffs looked the same. The blast radius didn’t.
Surely Claude can figure this out, right? Probably. But our friend Claude still has to check what the same edit does to production, and I’d like to know he checked. Terraform can actually tell me:
terraform -chdir=envs/production plan -detailed-exitcode
Exit code 0 means no changes planned. 2 means it wants to change something. Zero is the receipt, and I want it every time without having to ask.
Then there’s why. Look at the comment on that override: staging runs the full test corpus. Did I tell Claude that, or did it just sound plausible? It gets worse with differences that already exist. The config has the number. The reason is in a closed ticket, a Slack thread from 2022, or the head of a guy who left to start an AI company. Claude can go dig for it. Claude can also make something up. I’d like to know which one I got.
None of this is new. Puppet had the same problem with Hiera. A value could come from a common default, an environment, a role, or a single node, and puppet lookup --explain exists because working out which layer won was a job of its own. We built that flag for people squinting at YAML. The agent needs the same thing, every time.
We spent two decades making infrastructure easier for people to describe. Modules, templates, defaults, hierarchies. Every one of them saves a human some typing, and every one is something an agent has to unwind before it can make a safe change.
Our conveniences became the agent’s homework.
Nobody Writes Assembly
So here’s my spicy take:
IaC is about to become assembly. Still there. Nobody writes it.
Before somebody on Hacker News points out that the agent writes Terraform, so it’s still IaC: yes. Infrastructure stays code. Humans stop writing it.
What I write instead is requirements. Say I’m running a startup on AWS and a customer wants our SOC 2 report:
SOC 2 Type II.
AWS, us-west-2.
Dev, staging, and prod isolated from each other.
Customer data lives in prod and nowhere else.
No human has standing write access to prod. Deploys go through CI.
Logs nobody can delete, including us.
Six lines. The NTP module is 2,700.
Off the cuff, I would have told you that means three AWS accounts. Turns out the paved road disagrees. Let me give you Claude’s summary:
Organization root
├── management Organizations and billing only. No workloads.
├── Security OU
│ ├── log-archive Org-wide logs. S3 Object Lock, compliance mode.
│ └── security-tooling GuardDuty, Security Hub, IAM Access Analyzer
├── Infrastructure OU
│ └── network IPAM, Transit Gateway, shared egress
└── Workloads OU
├── SDLC OU
│ ├── dev
│ └── staging
└── Prod OU
└── prod
IAM Identity Center wired to the identity provider, with permission sets
instead of IAM users. Read-only in prod, plus a break-glass path for
emergencies. CI deploying through OIDC roles instead of long-lived keys.
Service control policies that stop member accounts from turning off
CloudTrail or GuardDuty, leaving the organization, or using regions we
don't. Resource control policies so prod data can't be shared outside
the org. No root credentials in member accounts. S3 Block Public Access
and default encryption everywhere. Default VPCs deleted. Each
environment's VPC carved out of IPAM so the CIDRs never collide, with
workloads in private subnets and only the load balancers facing the
internet. Transit Gateway route tables that give every environment a way
out through shared egress and no way into each other.
I was thinking three accounts. I got seven. That’s either the agent’s whole value or the scary part. Probably both. Either way, it’s the image processor lesson again: the agent turned three into seven, so it owes me the why.
Also, SOC 2 doesn’t say “three AWS accounts.” It doesn’t say seven either. It doesn’t actually say anything about AWS. Somebody interpreted a requirement into a control, and a control into an implementation. Today that chain lives in a consultant’s spreadsheet or a Vanta dashboard. Or Drata. Nobody remembers which, because nobody’s logged in since the audit. In this model I write the first link. The agent writes the rest, and it has to show its work: requirement, decision, implementation, evidence. Same chain, except this time it’s written down.
Networks get the same treatment. I’m not going to write Arista config. I’m going to describe the network I need, and the agent renders the switches, the routers, the subnets, the firewall rules, the rest.
It also makes the image processor boring, which is the goal. DRY was never about saving keystrokes. It means every piece of knowledge gets one home. Config tools turned that into inheritance: defaults, overrides, hierarchies, until nobody can say what staging will actually run without replaying the whole stack in their head. Keep the knowledge in one place. Render the result in every place. Staging’s memory limit shows up in staging, next to the reason it’s 4096. When I do want every environment changed, the rule that groups them still lives somewhere. It’s just a query, not a default buried in a module.
Where the Rendered Config Lives
Which brings me back to Alexis. The guy who coined GitOps is now building a database for config. That’s worth thinking about.
He and his CTO, Brian Grant (yes, Kubernetes Brian Grant), are betting on flipping the arrow: template <- config. Brian describes abstractions as views over configuration: fully rendered config is the source of truth, and a template is just one way to edit it, alongside people and other tools. ConfigHub also shows agents querying configuration directly, so the agent asks the store instead of rebuilding the answer from repos and templates every time.
Full disclosure: Alexis is a friend from my Docker days. I don’t have any stake in ConfigHub.
Here’s where I’m still skeptical. For greenfield, the requirements are the reason. For the fleet you already have, a database won’t recover a reason nobody recorded. From here on, an agent can write the reason down as it works; ConfigHub calls these operational facts. That fixes the next change. It doesn’t recover the last ten years. And desired config is only half the job. After the change, I still want evidence from the running system that staging got 4 GB and prod didn’t.
Before You @ Me
Intent-based networking already does this. It does, for designs somebody built a compiler for. Apstra has rendered Arista, Cisco, and Juniper configs from intent for years, and AWS Control Tower will stamp out a landing zone. IaC exists for everything off those paved roads. What’s new is that the renderer doesn’t have to be built one domain at a time.
Compilers are deterministic. Claude isn’t. Agreed. That’s why the rendered output is what you keep and review, not something you regenerate on every run. The assembly comparison is about who stops typing curly braces, not how the output gets made.
Who reviews 4,000 lines of IAM? Nobody, ever. You review the decisions, the diff against intent, and evidence from the running system. That’s roughly what an auditor asks for anyway: the control, how it’s implemented, and proof it’s operating.
Day 2. Rendering a greenfield landing zone is the demo. Changing it six months later without breaking prod is the job. You know, the one I used to get paid “the big bucks” for.
Would We Make the Same Choices Again?
Back to the NTP example. Would I let Claude write those three resources by hand, or use the module?
The module. Not for the syntax. That module isn’t 2,700 lines because Puppet people love typing. It encodes package names, config paths, service names, and platform differences across nine operating systems. Most of those lines are tests, and plenty of those tests exist because somebody already got paged. I don’t want an agent rediscovering that at 2am. The syntax is up for grabs.
So as someone who has racked and stacked a lot of servers and written a fair few lines of Bash, Puppet, and YAML, here’s where I’ve landed. People write requirements. Agents render config. The rendered config lives somewhere that can answer questions about itself. And every change comes back with receipts: what it touched, what it didn’t, and why.
My test for any infra tool now: can Claude give staging more memory without me triple-checking the prod plan myself?
The language was for us. Turns out we only needed it because we were the ones typing.