Try reloading the player or open this episode directly on YouTube.
In this episode, Matt Gowie discusses the challenges of messy infrastructure and the role of Terraform and AI in modern setups. He explains why the Terralith state file is a common issue and argues that Terragrunt is becoming obsolete.
Now Playing
Ship It Conversations: Terraform Terraliths, Why Terragrunt Is Antiquated, and AI Agents for Infrastructure as Code With Masterpoint's Matt Gowie
Ship It Weekly
0:00Current chapter: Cold open and intro35:45
Chapters
Jump to a section in this episode.
Speed & share
Transcript
I honestly think of Terragrunt as antiquated
nowadays. I think a lot of the problems that
it was trying to solve are very solvable in vanilla
Terraform, vanilla OpenTofu. That's Matt Gowie,
CEO and CTO of Masterpoint, the consultancy teams
call when their Terraform has become one giant
state file. Today, what to fix first and where
AI agents fit. I'm Brian Teller from Teller's
Tech, and this is Ship It Weekly.
Matt, thank you for joining me. Hey, happy to be here. Looking
forward to chatting. Should be good. So what
is Masterpoint? What do you do there? Yeah, we
are a consulting firm. The way I like to put
it is we help engineering organizations that
are really trying to ship infrastructure do it
well. So we help you scale. We help you solve
the hard problems that you might not have the
experience to do so. And we've worked with a
couple dozen clients to like really hey, what
are the patterns that we need to put in place
so people can ship infrastructure quickly, securely,
sanely? Yeah. Makes sense. So your tagline is
turning messy infrastructure into a platform
teams can manage, scale, and evolve. What does
messy infrastructure usually look like when you
first walk into an organization? I think everybody
will think of their own version of messy infrastructure.
For us, I mean, we, we see the wide range we
engage with from unicorn startups, folks like
Cursor is a recent engagement, to big enterprises,
most of which I can't actually talk about. But
we have clients who kind of range the gamut in
terms of, hey, what is their organization size?
What is their engineering footprint size? How
fast are they trying to ship? And a lot of the
times, messy infrastructure comes down to, hey,
maybe they've... I talk about this a lot, the
Terralith problem of having one monolithic state
file. That's a really considerable thing. A lot
of times people have, they haven't put patterns
in place. They do ClickOps to get their root
module to be into their system that actually
delivers it instead of automating that component.
Or they have 10 repositories where they configure
infrastructure code. Or one that was really fun
was, hey, we have a document that describes which
infrastructure as code tool to use across the
organization. When that organization, they were
less than 500 people, like their infrastructure
team was less than 50. So when you look at various
things, it kind of comes across the board, but
it's usually, it comes down to, hey, people have
bad patterns or they don't have any thought to
the patterns that they're putting in place. Yeah,
we come in and we're opinionated and we've seen
it all. And we really work to set people up for
what's going to scale for them, what's going
to actually be effective to get them to the next
stage or really help them, enable them to grow
and be able to ship. Yeah. Do you notice one
overarching problem that you see over and over
again with as far as messy infrastructure? Is
it the single state file? Or is it just a gambit
of everything across the board that you see?
You know, it's funny. I think that the single
state file becomes a huge problem for a lot of
teams. And I think it's one of the, if we look
at all of our clients, it is one of the top five
that I would say it's probably number one where
they run into that pain point and we are the
ones that they call to come in and solve that.
We have content that's produced around that.
So maybe that's how they find us or that's part
of the... correlation there. But there's also
something to, whenever we go into an engagement, we're
always going to be able to find something because
there really is... I think a lot of teams don't
think of infrastructure and shipping their code
as, like, hey, this is critical to get right. They,
they put, they hire one or two people onto it.
They trust that those one or two people know
what they're doing, and they probably do to one
degree or another, but they probably also have
blind spots. And we've seen so many environments,
we've seen so many ways of, like, getting it wrong
that we know the things that are how to get it
right. And in that way, we always can come in and
be like, we're going to provide value by... we need
you to fix this thing. Like, trust us. And then
clients are happy at the end of the day. So I
would say the Terralith is one of the things
that brings people to our door, but there's always
a host of things. People don't know how to manage
secrets, or they think that their GitHub Actions
pipelines are actually doing them a service when
they're really shooting themselves in the foot
because they're maintaining and building something
that they don't really know that's complicated,
and it has a lot of quirks. So anyway, yeah.
So what would you say separates a mature Terraform
setup from a repo that just has a lot of Terraform
in it? What's the difference? I think it's the
folks who have things really automated, as in
they have their OIDC roles. They create a new
root module that gets automated, and that is
immediately going to be delivered through GitOps.
The folks who have good policy around what gets
through the PR? What happens after the PR and
it's actually in a planned state and it's ready
to be confirmed? Is that just going to blanket
DevOps team or is that going to the security
engineer because it got flagged for a security
policy? Those sorts of things come to mind. I
think that anytime anybody's doing local applies,
usually that's a smell. There's a good amount
of stuff in the realm of like, hey, there's a
place for that. It's called a sandbox account
and we can create that for you and help you just
be in that one world for your local stuff. But
no, you should be merging a PR if you're going
to do work because Git and, you know, for better
or worse, GitHub for the most part is where we
like have a definitive resource of the history
of like what's going on with your infrastructure.
And you want to push things there so you can
stay compliant so that you can go fast. And your
local machine is not going to be that place.
So that's one of the main, those are some of
the main things that come to mind. So not targeting
maybe? Yes. Okay. So that's a good call out.
Thank you for saying that one. Yeah. If you're
doing targets, you're, let's talk, let's talk.
That's the reality. Because that means, hey,
your state file is largely too big or you have
some workflow problem. So you kind of mentioned,
I guess, remote execution of Terraform. Like
you have a service that you, usually lean towards
like TFC or Spacelift or Atlantis, like, just running
it locally? Like, what do you use typically? What
do you find? Yeah, we're partnered with Spacelift,
so we're fairly biased. I personally, so I've been
running Masterpoint for 10 years, and I mean, for
since, like, 2018 is when I found Terraform and
got really into it. But the overall, I've been
using Spacelift since they were, like, one year
old, six months old, and I've always really loved
it and used the others, compared it to the others,
and don't really think there's too much of a
comparison. Particularly Terraform Cloud and
resources under management pricing is brutal.
Like, it's just crazy. And I would never tell
a client to use it just for that one thing. Like,
you know, it's not, I don't think, a cream of
the crop platform either, like product, but
it is also just a pricing model. Let me not hit
on them too hard, though. There's plenty of solutions
in this ecosystem. I think that, you know, Scalr
and env0 are really good alternatives. There is
the Terrateam folks and Terramate. But, you
know, I think that we use Spacelift just because
they've implemented OPA and policy at all these
really good points. And from a platform perspective
and something that feels customizable, that's
it to me is that, hey, they've put the right
knobs and dials in place that we can go into
a client and just say, hey, we can build this
that's going to make it work for your organization.
And that is always a really good sell. It feels
like we always can get something really effective
in place. They now support Terragrunt natively.
Have you been using that more or are you still
doing just native Terraform or OpenTofu? What
is your platform of choice when it comes to infrastructure
as code? Yeah. It's funny you bring up the Terragrunt
one, because we're going back and forth with
a client right now. They're an existing client.
They've come back to us a couple times for different
engagements, and we really like them. But they
want us to migrate them off of Terraspace, which
is an older, not well-used... I would say there's
less than 1% of the overall infrastructure as
code community has ever even heard of Terraspace.
But they're on Terraspace. We had done a bunch
of their infrastructure in the past. We didn't
get them on Terraspace. They've been on it for
a while. And we're going to migrate them to Terragrunt.
Now, we didn't suggest Terragrunt. They want
to go that route. And they're on Spacelift. And
so we looked up Terragrunt native functionality.
And I don't know. I think that it's not... I
don't know. Native feels wrong. I love the Spacelift
folks. I'll give them some feedback later. But
it is native in a way that it knows how to speak
Terragrunt. But it is not also... There isn't
that much advantage. And I honestly think of
Terragrunt as antiquated nowadays. I think a
lot of the problems that it was trying to solve...
are very solvable in vanilla Terraform, vanilla
OpenTofu. And it feels like today, if you really
want a framework, I think Terragrunt is an option,
but I don't think it's actually highly effective.
I think the more effective options are Atmos
or Terramate, and they're doing a different thing.
They're completely different approaches. Most
people that I see that use Terragrunt now mainly
just for the dynamic state file management. So
they're, you know, they create a bucket and then
it's automatically creating those state files.
Maybe they're doing like run-all to run, but
even that is kind of messy. So I don't see that
being used as much. It's mainly the state file
management aspect of a Terragrunt. And we have
that with OpenTofu, like, you know, dynamic backend
solves that problem. But even before that, that
problem wasn't that difficult. But OpenTofu solves
that. And then the run-all thing, I think you're
trying to solve the Terralith problem, essentially.
You're like breaking things up and creating dependencies.
But we do this for a lot of clients. And the
reality is that those dependencies aren't that
hard. It's like, you know, you want your network
stack to be up before you build your database.
And hey, if your network stack... you know, gets
recreated, you have to rebuild your database
and you think, well, I need to have that be wired
together via dependency. And it's like, no, you
don't, because you would have had to delete and
destroy that database first before you recreated
your network stack. So it's like, you don't actually
have a problem. And I think we've deluded ourselves
into thinking that you might, but people are
bought in and, hey, that's legitimate. There's
a place for it. I think that there are some people
who are using it for effective reasons. I just...
we rarely run into it. Yeah, I see a lot of, like,
dependency on state files, like remote state, like
calls. And, I mean, I guess even doing, like, data
providers, which is really the wrong way to do
it, but from, like, other state files, like, to pull
in resources for, like, DR exercises. But even then,
it's not a clean apply. Like, you can't just stand
everything up in a new region like easily and
clean apply it. So it's not even buying what they
say it's buying, or what they're assuming that
they think it's buying. To actually go to a new
region, there's a lot of manual chicken-egg
stuff that you run into that you can't just cleanly
apply everything and have your IAM and your VPCs
all set up before you're actually applying your
databases. It's just not realistic in the implementation
that I've seen, at least. I agree. We've implemented
DR in a couple situations, pilot light, primarily.
You know, we've done it on Atmos and there's
things there that we had to work through. We
haven't done it on Terragrunt, but like, that's
not where we aren't going to wire those like
dependencies up. So everything feels like it's
like one button press. Like that's not the reality
folks. You got to have a playbook and you got
to go through it. You got to make sure that playbook
works like until we're all out of the job and
agents are amazing and they can do all of our
jobs completely. Like this stuff's too. You can
spend time and spend a ton of time and money
to get there. But like, you know, your efforts
are probably better. There's a larger ROI if
you spend your time elsewhere and just like documenting
it in a playbook is probably the right way to
go. And I think even leveraging the engineers
talents and experience rather than just automating
the entire setup, there is some usefulness into
that. I mean, I understand if you're trying to
like reach some sort of like RTO objective, like
you need to. But even still, I still think like
you put that in a runbook then and then you
worry about that method not automating the entire
stack. Yeah. And there's a better question of
like, hey, how big is your business actually
to like, you know, are you actually losing millions
of dollars during that five minutes of RTO? Like,
and we have clients who come to us and they're
like, we need the fastest DR setup ever. And then we do a
little bit of business analysis. And we're like,
no, you don't. Let's talk about actually what's
important here because this thing is such a beast
to maintain that you don't really want this.
Or you want to hire five more people. Those are
the apples to oranges that you're trying to compare
here. Anyway, DR is a fun topic that we could
bash on for a while. Okay, so your IaCConf talk
was called From IaC to Agents: AI's Disruption
of Infrastructure Operations. Can you give me
the thesis? Like what changes when we move from
engineers writing IaC to agents reasoning about
infra? Yeah, I think that I took that talk as
a excuse to dig into a few of the tools that
are in the market. So I was like looking at,
hey, who are the disrupting, upcoming startups
that are trying to build in the space of IaC
and answer my own question of like, hey, should
I still have my business based around IaC? Like,
is this all going to change six months from now?
And I don't know if I'll answer your question,
but I basically like broke down, hey, here are
the spectrum of tools from, you know, lightly
agent enabled to fully agent enabled. Like, you
know, there is no infrastructure as code in the
mix. And I think there's some interesting things
that are evolving, but what I came back from
it in my own opinion, and of course I'm biased,
but my own opinion was, hey, IaC isn't going
anywhere. Agents and what agents are doing within
infrastructure today is basically helping us
ship faster, ship more correctly, make sure compliance
and guardrails are in place. And those are good
things. We need that. It helps us. But a lot
of that, you know, there's some tools in the
space today that I look at and I'm like, OK,
hey, what's different between just having your
own agent harness? What's different, you know,
from this and, you know, just using like it's
a difference between like this might be similar
to Pulumi or something like that. So I think
that IaC is here to stay, basically. And the
thought process I walked away from was like,
hey, you just need to put work into making sure
that your infrastructure has the the rules and
the guardrails and the skills and the context
that make it so that your organization builds
on the right platform, the right patterns, so that
it can go where you want it to go and you can
build those yourselves. You can call Masterpoint
to do that. Like, that is a thing that you and
your team can do today if you want. I guess we
can kind of riff on that a little bit. How do
you use AI then in building IaC? Are you building
MCPs that then have, like, visibility into the
infrastructure and the Argo CD or whatever, or
are you using it differently? Yeah, I think that
at Masterpoint, I'll just tell you what we do.
We have a bunch of MCPs that we find really useful.
We roll out Spacelift, for example. We want the
Spacelift MCP. We want the Datadog MCP. We want
the AWS set of MCPs so that we can inspect infrastructure
from our clients and actually understand, hey,
how do we translate that? How do we give context
to the agent? The important thing, though, is
that you have strong beliefs and patterns that
you instill into rules, or if you have a workflow,
you instill that into a skill. And then that
is the thing that enables you to like repeatably
build the same infrastructure so that you have
the same naming patterns, for example, or you
have, you know, the way to upgrade Terraform
across hundreds of root modules without, you know,
blowing up one of them. And you can do an analysis
to make sure that, hey, we're not gonna, you know,
remove this feature from... that we might be migrating
from Terraform to OpenTofu. We don't want to
actually upgrade this one root module because
hey, it actually is using that new Terraform feature
that nobody actually expected that we were using
but we gotta, we gotta remove that before we can
swap. And I think that that is the type of thing
I would... We're thinking a ton about it at Masterpoint.
That's what me and my team are talking about.
And we are rolling it out to our clients and
they're finding it effective and we find it effective.
So there's a lot there in that space of, hey,
how do you give the right context and the right
box to keep the agent in to move forward? Okay,
so I guess diving a little bit deeper, if you're
willing to get into this, I'm curious. You had
mentioned you have an engagement with Cursor,
but do you use Cursor? Are you using Claude?
What are you actually using day-to-day to actually
write code? What is your IDE setup? We use Cursor
and Claude. We personally use Claude a ton, and
then Cursor's more my, like, hey, let me do these
specific things. But we use both. They're both
fantastic. I do and am interested in switching
some of my workflow over to the Cursor 3, like,
less IDE, more, hey, let me tell an agent to
do the thing. And that's where things are moving
in one way or another. So it's nice. But we use
both. Our engagement for Cursor was nothing related
to that. You know, like it was more, hey, this
unicorn startup, fastest growing startup in the
world, like something we've never seen. Like
they were, they're dogfooding their product,
right? Like they're shipping infrastructure faster
than anybody I've ever seen. And it's an amazing
thing to see it and, you know, watch them just
be like, whoa. They're going fast. And we enabled
that. We did an engagement with them that started
at the end of 2025 and we just wrapped it last
month. And we really, I'm excited about the things
that we did for them. I'm going to be submitting
talks to talk about it. And yeah, I don't know.
I don't know if you have any specific questions,
but we did some very cool stuff within their
environment and that I'm very happy about it.
As a business owner, I think we created a lot
of value for them. So it's cool. Have you used
AWS Kiro at all? So I used to be a AWS Community
Builder and re:Invent this past year. I actually
got to do their hackathon where we used Kiro
right around the time where it got released.
It was maybe a few months old at the time, but
we used Kiro on the bus as part of a hackathon.
So I know Kiro decently well. It's a cool product.
I haven't used it since then, if that helps you.
And I'm no longer an AWS Community Builder. So
that's another side of that story that I will
not get into. But yeah, I have used it. I honestly
think that, hey, a lot of these tools do similar
things. Like they are a harness and then you
can create your own harness within that harness.
And like, hey, that's the way you kind of should
think about it is, hey, who's doing the best?
But there is... I try not to get into the minute
details of saying, all right, let me try every
model. Let me try every tool because it just
is moving so fast that it's crazy. And I got
a business to run. So I'm like, there's no way
props to the people who can do it. But I think
I would be dropping the ball left and right in
terms of all the things I need to juggle. I just
need to have one to two tools that help me get
things done. And, you know, things are moving
faster than ever. So I'm happy with the velocity
that I have. No, that's fair. Yeah, I was just
curious, because I've played a little bit, probably
not as much as you even, with Kiro. I used VS
Code before Cursor, used Cursor. I've used the
Claude CLI tools, and they all have their strengths
and weaknesses, but at the same time, the fundamental
process of how you build code with an agent is
kind of the same across all of them. There are
nuances, but... I think it's more user preference
than anything. I was just curious if you had
any insight that was maybe different than what
I've experienced. No, I mean, I think everybody's
found really good efficacy with Claude's models,
right? Like I think it was Opus 4.5 came out
and we were all like, holy crap, these things
can rip and let's start letting it rip. And that
has been an amazing thing. And I think that I'm
interested in what it can do for me on a day
to day. I'm not interested in like being overly
dogmatic about one tool change three months from
now, I'm sure. And yeah, no strong opinions in
that realm. I think, you know, there's the AI
influencers who do that. I try and keep within
my realm of infrastructure. Infrastructure as
code is where I really like to like think long
and hard about what are the problems. And my
team and I solution engineer the hell out of
them. And that's what we do. What are your thoughts
on platform engineering? Where do you think it
actually helps? Or is it just a nicer name for
another internal ticket queue? I think it's a
nicer name, but I don't think like the, there's
the platform engineering term and it really kind
of, I think it's a better term than, hey, if
you're a platform engineer or you're very specifically
building something, right. You're building a
platform to ship on your cloud or on, you know,
should ship software. You're not, application
engineers and platform engineers. There's a very
big difference, but that's better than saying,
hey, you're a DevOps engineer because DevOps
has now been bastardized. And I'm sure we're
going to do the same thing to platform engineering,
but DevOps has been bastardized to hell over
the past 10, however many years we're coming
up on 15, probably. And the DevOps engineer always
felt a little wrong because DevOps is like culture.
It's like, it's hard. DevOps has too many meanings.
So I like platform engineer from one perspective,
which is like, hey, it gives us a target, a thing
that we're working towards. And I like the idea
of self-service and golden paths and like a
bunch of things that come with platform engineering.
There's a, hey, you need a IDP. You need a like
internal developer platform. And I don't think
that is anything to do with platform engineering.
That is the vendor way of selling you platform
engineering. They think like us. Let's give you
an internal developer platform and it'll solve
all your problems. And I think that what you
can do nowadays with AI and with good automation
around infrastructure, you can build a skill
that will enable you to self-service for your
team. You know, hey, if everybody has access
to Claude Code, for example, you can build a skill
that says, give me a new database. And you can
walk the user. They could be an application engineer.
They might not know anything about what a database
should look like, but it can say, this is what
a database looks like. Here's the three things
that you have available you to change and give
me the answer to those three things. And we will
put up the PR that makes it so you don't need
to look at OpenTofu or Pulumi or God forbid CloudFormation
or Crossplane or whatever it is. But that feels
like it's the thing that IDPs were trying to
sell. And nowadays it's like, let's just do that
the simpler way. Do GitOps. Do good automation.
Do good work. You don't need the fancy portal
with like a React engineer who specializes in
Backstage. I don't know. I could talk about this
for a while. I'd probably piss people off. No,
no, that's great. That's a good point. Yeah.
I could see Backstage, like specifically or a
Backstage type like IDP becoming less the focus
for even platform teams now that we have the
AI tools that we have. Like you can build a service
catalog any number of ways or provide a service
catalog any number of ways. So, okay, when you're
on an engagement, how do you clean up infrastructure
while the business is still shipping? How do
you deal with that problem? Usually we like to
say, hey, can you take a day and we'll hit pause
and then we'll migrate a bunch of stuff. But
there are ways to do it. I think that it comes
down to really being specific about what's the
workflow around PRs and can you duplicate something?
For example, in infrastructure world, what we've
done for clients in the past six months in a
couple of different places is that we'll say,
okay, hey, we're migrating you from your homegrown
automation platform or you're migrating you from
Terraform Cloud and we're getting you on a
Spacelift. Let's lock your Terraform Cloud workspace.
We'll duplicate all your infrastructure as code.
We'll copy the state file. While that workspace
is locked, we have this other PR up. We get that
approved. We get it through security. We get
it automated. And it's now speaking to this new
state file. We then remove the old thing. Because
it was locked, we can confirm that it doesn't
have any changes or that we now need to reconcile
to the new system. And then we can get rid of
that. We can destroy that workspace. We can get
rid of the code that previously was pointing
at that. Terraform Cloud might have been pointing
out or something along those lines. So I think
that that's the type of thought process. You
just have to be very specific in terms of stop
writes to the database, essentially, and then
route traffic accordingly, and then delete that
old database, and then you're in a good, better
state. Using the word state, and I shouldn't
use it in this example because it actually means
something, but yeah, that's what we do to make
it so that we don't have, you know, big bang releases.
Like we can do stack by stack, root module by
root module in that way. How do you usually decide
where to start? Like, do you think logically
like the VPC level and like, hey, we'll start
with like all your VPCs or is there some other
like by service? Like, how do you decide or is
it different, I guess, for each client? Like,
how do you actually decide where to start instead
of like just boiling the ocean? Yeah, it's different
for every client. I would say that like where
we usually like to start is we like to do like
low consequence things first so that we can prove
out a workflow for that client and make sure
that they feel good about it, right? Like we
want them to feel like, hey, there's trust, there's,
you know, success and hey, we got some stuff
moved and we might just take the first day to
do that so that we can, you know, by the end
of the week be done with, you know, step 50.
And I think that there is something to that,
but also there is something to be said about,
hey, when we come into engagements, there's times
where there's like a bleeding wound. There's
something that's like, oh, this is so on fire.
Like there's a dumpster fire over there and we
need to like create the, you know, firefighter
line of people with buckets to like be dumping
water on this thing. And we have the hose and
we can like come in and just fix that one thing
quickly so that there isn't a pain across the
team. So we do it differently per client. Usually
we will start off with, like, hey, let's do it for
your dev workspace, for your dev state file first.
Let's make sure that that works, then stage, then
prod. You know, like, there's a logical path that
we go about it. But there is certain... there's always
in software, all software organizations have the
exception to the rule so we do it according to,
hey, what does this client feel comfortable with?
How do we help them best? Yeah. Okay, so wrapping
up, let's say a team's listening. They know that
their infrastructure is messy, but they don't
know where to start. What's the first useful
move for them? I think it comes down to evaluating
your own workflow. What is the thing that you're
spending too much time on? I think that a lot
of people, if you think about it from a business
sense, and I don't think that platform engineers,
I don't think that like... our infrastructure
realm of folks think about this probably enough,
but like, what is the thing that you're doing
a ton of that you're maybe doing a little bit
manually, or you're like, you're not really thinking
about like, what is the impact that's having
on downstream teams or, you know, how much of
my salary is put towards this, right? So there's
like times where we come in and like, people
are building their own custom GitHub Actions pipelines.
And they are thinking that IaC is a simple problem
and it doesn't need, you know, tooling and we
can just go with whatever, you know, we can vibe
code. And yet there's like 10 problems they're
not thinking about. So then they think, okay,
I can vibe code this, you know, set of pipelines
and this is working great. And then next week
they add on three more new features. And then
the week after that, they add on. They have to
like fix five things and they've suddenly built
this Rube Goldberg machine because they think
they could reinvent the wheel. Well, and the problem
is that the wheel just, you know, stop trying
to reinvent the damn thing. So there's a reason
why there's some platforms around that. The thing
I think is like there is there's some internal
retrospective thought process that you can take
to your infrastructure process and say, hey,
where's the biggest pain point? How can we focus
on that? That's going to create a sustainable
long-term path for us. And then you keep asking
yourself that question. And it's weird. We're
very good at it because that's what we do all
the time. But for a lot of engineers, I think
they have blinders on it. They just don't see
it a lot of the time. And it's interesting to
come in and provide that advice. But I would
go to bed and be thinking about, what is it? How
can we, you know, do better? And that'll get
you right in the right frame of thought, at least.
Is there something that people should like stop
doing immediately? Like that you see time and
time again, that just like a problem that you
keep saying, I don't know. We talked about targeting
earlier, local exec earlier. Targeting is a
good one. Applying locally. If you're a Series
A company and you are applying locally, you're
doing something probably wrong. Like, unless
you're a, no, there's just no, yeah, if you're
Series A and above, and you have local applies,
I think you're doing something wrong. There are
reasons to break glass and be able to apply locally.
But for the most part, you should drive infrastructure
through your automation tool. And I think that
that unlocks and that thought process unlocks
a lot of good things. So yeah, I think that's
a good one. Where should people follow your work
or learn more about Masterpoint? Very simply,
masterpoint.io has all the things. That is website.
We have a good blog, good newsletter, and I have
some great team members. I'm excited about some
of the stuff that we're putting out in terms
of case studies. They're coming out soon. There'll
be a case study around Cursor. That'll be good.
We have another case study with a past client,
MarketSpark, that we're going to be putting out.
I think it's later today, like in the next 20,
30 minutes. So there's masterpoint.io. And then
LinkedIn is where I post content constantly.
Funnily enough, I think that it's, you know,
it's good for chatting with infrastructure folks,
oddly. And so yeah, find me on LinkedIn, Matt
Gowie, G-O-W-I-E, can't go wrong. And I post
lots of stuff on the infrastructure space and
hey, how to do things better with AI, blah, blah,
blah, that type of thing. Awesome. Anything else
I didn't ask or you want to leave our listeners
with? No, reach out if you have any questions.
If you ever want to talk shop on hard infrastructure
problems that you're trying to scale, happy to
provide an ear, happy to provide some consulting
services if we can be of help. But yeah, that's
about the gist. Awesome. Thanks so much, Matt,
for coming on. Really appreciate your time. Thank
you. Good to chat. That was my conversation with
Matt Gowie from Masterpoint. You can find Matt
on LinkedIn and Masterpoint on masterpoint.io
through the links in the show notes. Follow or
subscribe to Ship It Weekly wherever you listen,
and find previous episodes at shipitweekly.fm.
Through mid-December, you are getting two conversations
a week, Mondays and Wednesdays, with the news
every Friday. In year one, this show won a Davey
Award gold, a dotCOMM gold, and a Viddy. And we're
a DevOps Dozen finalist in two categories. The
show for Best DevOps Community Program, and me
for Enterprise DevOps Champion of the Year. If
this show's helped you this year, I'd really
appreciate your vote. It's open through December
31st, and the link's in the show notes. And thank
you for listening, for sharing episodes, and
for sending stories my way. None of this happens
without you. Year two means more conversations,
more where the industry's headed, and more community.
The biggest takeaway for me is that messy infrastructure
is mostly missing patterns. The one giant state
file, what Matt calls the Terralith, is the pain
point he gets called in for the most. His test
for a mature setup isn't how much Terraform you
have, it's automation and policy. If you are
applying locally or reaching for targets, something
upstream is wrong. On tooling, he thinks the
problems Terragrunt solved are solvable in plain
Terraform and OpenTofu now. A one-button
disaster recovery setup is rarely worth what
it costs to maintain. A tested playbook usually
is. On AI, infrastructure as code isn't going
anywhere. Agents help you ship faster inside
the rules, skills, and guardrails you give them.
And a skill that opens a pull request can do
what the developer portal promised. If you don't
know where to start, find the thing you spend
too much time on, fix that, and ask again. Thanks
for listening, and I'll see you Wednesday.
Ship It Conversations: Terraform Terraliths, Why Terragrunt Is…
Matt Gowie has seen a lot of Terraform. His company, Masterpoint, gets called in when a team's infrastructure as code has gotten away from them, and he's been doing that for ten years. So I asked him the obvious question first: what does messy infrastructure actually look like when you walk in the door?
His answer wasn't about any one tool. It was about patterns. "It comes down to people have bad patterns, or they don't have any thought to the patterns that they're putting in place."
That line ended up framing the whole conversation for me.
The pattern that brings people to Masterpoint most often has a name: the Terralith. One giant root module, one monolithic state file, everything in it. Matt said that if he looks across all of his clients, it's probably the number one pain point they get called in to fix.
I've lived in a Terralith. Most of us have. It starts as the sensible thing, one repo, one state, easy to reason about. Then the plan takes ten minutes, every change has the whole platform as its blast radius, and somebody starts reaching for -target to get anything done.
Which is exactly what Matt looks for. I asked him what separates a mature Terraform setup from a repo that just has a lot of Terraform in it. His answer: automation. OIDC roles. A new root module gets delivered through GitOps, not by hand. Real policy on what gets through a pull request, and who has to approve it. And then the smell test: "Anytime anybody's doing local applies, usually that's a smell." When I added targeting to the list, his answer was quick: "If you're doing targets, let's talk." A target, to him, means your state file is too big or your workflow is broken.
Near the end I asked what teams should stop doing immediately, and he came back to the same place. "If you're Series A and above and you have local applies, I think you're doing something wrong." There are reasons to break glass. But for the most part, infrastructure should be driven through your automation tool, because Git is the record of what happened to your infrastructure, and your laptop isn't.
Then we got to Terragrunt, and Matt said the line that became the cold open: "I honestly think of Terragrunt as antiquated nowadays. I think a lot of the problems that it was trying to solve are very solvable in vanilla Terraform, vanilla OpenTofu."
That's a strong take, and I think it deserves some context. In my experience, most teams that use Terragrunt today use it for the dynamic state file management: create a bucket, and the state files for each module get generated for you. Matt's point is that OpenTofu's dynamic backend solves that now, and that it was never that hard a problem to begin with. The other big feature, run-all and dependencies between stacks, is really an attempt to solve the Terralith by breaking it up and wiring the pieces back together. And his view is that those dependencies are rarely as hard as we make them. His example: if your network stack gets recreated, you'd have had to destroy the database first anyway. "It's like you don't actually have a problem. And I think we've deluded ourselves into thinking that you might."
He was fair about it. People are bought in, some use it for good reasons, and if you want a framework, he'd point you at Atmos or Terramate, which take completely different approaches. For transparency, Masterpoint is a Spacelift partner, and Matt said up front that makes him "fairly biased" on the tooling side.
The disaster recovery part was my favorite stretch of the conversation, because it's something I've argued about for years.
The dream is a DR setup where you press one button and the whole platform comes up in another region with a clean apply. My experience is that it doesn't work like that. Remote state lookups, data sources pointing at other state files, IAM and VPCs that have to exist before the databases. There's always some chicken-and-egg step you can't apply cleanly.
Matt went further. "That's not the reality, folks. You gotta have a playbook and you gotta go through it. You gotta make sure that playbook works." His team has built DR for clients, and his argument is about return on investment. You can spend a lot of time and money wiring everything into one button, or you can document it in a playbook, test it, and spend that time somewhere with a bigger payoff.
And sometimes the right answer is that you don't need it at all. "We have clients who come to us and they're like, 'We need the fastest DR setup ever.' And then we do a little bit of business analysis and we're like, 'No, you don't.'" Are you actually losing millions of dollars in those five minutes? If not, the real comparison is a system that's a beast to maintain versus hiring five more people. I think that's the right way to frame DR: as a business decision, not an engineering trophy.
Then we got to AI, because Matt gave a talk at IaCConf called "From IaC to Agents: AI's Disruption of Infrastructure Operations." He said he used it as an excuse to answer his own question: should he still build a business around infrastructure as code, or is all of this about to change?
His answer, as he put it himself: "IaC isn't going anywhere." Agents are helping teams ship faster and more correctly, with compliance and guardrails in place. But the work that matters is giving the agent the right box to work in. At Masterpoint, that means MCP servers for Spacelift, Datadog and AWS, so the agent can see the real infrastructure. It means rules that encode your patterns, and skills for the repeatable jobs. His example was upgrading Terraform across hundreds of root modules without blowing one up, and catching the one module that quietly uses a feature you'd lose moving to OpenTofu.
That's the same patterns point from the start of the conversation. AI doesn't fix bad patterns. It repeats whatever patterns you give it, faster.
It also changes the platform engineering conversation. Matt likes the platform engineering title better than "DevOps engineer", which he thinks has been stretched to mean too many things. He likes self service and golden paths. What he doesn't buy is the idea that you need an internal developer portal to get there. His alternative is a skill. If everyone has access to an agent, you build a skill that says "give me a new database." It walks an application engineer through the three things they're allowed to choose, and then it opens the pull request. "You don't need the fancy portal with a React engineer who specializes in Backstage."
I've been thinking the same thing. A service catalog can be delivered a lot of ways now, and a portal is just one of them.
The advice I'd take away isn't a tool. When I asked where a team with messy infrastructure should start, Matt said to look at your own workflow. What are you spending too much time on, maybe doing a little manually? What does it cost the teams downstream of you? He described teams that decide IaC pipelines are simple, vibe-code a set of GitHub Actions workflows, add three features the next week and fix five things the week after, until "they've suddenly built this Rube Goldberg machine because they think they could reinvent the wheel."
The wheel is already invented. Find the thing that hurts most, fix that, and then ask the question again.
That's a retro, really. Just aimed at your infrastructure instead of your last incident.
Notes
Show Notes
This is a guest conversation episode of Ship It Weekly, separate from the weekly news recaps.
In this Ship It Conversations episode, I talk with Matt Gowie, CEO and CTO of Masterpoint, about what messy infrastructure looks like when his team walks in, why the Terralith (one giant Terraform state file) is the pain point they get called in for most, and where AI agents actually fit in infrastructure as code.
Masterpoint (masterpoint.io) is an infrastructure as code consultancy that helps engineering teams ship infrastructure quickly, securely and sanely. Matt has been running it for ten years and working with Terraform since 2018.
We get into what separates a mature Terraform setup from a repo that just has a lot of Terraform in it: automation, OIDC, policy on every pull request, and no local applies or targets. Matt explains why Masterpoint runs on Spacelift (they're a partner, and he says so), why he thinks of Terragrunt as antiquated now that vanilla Terraform and OpenTofu solve most of what it was built for, and why a one-button disaster recovery setup is rarely worth what it costs to maintain. A tested playbook usually is.
On AI, his IaCConf talk landed on a clear answer: infrastructure as code isn't going anywhere. Agents help you ship faster inside the rules, skills, guardrails and context you give them, and a skill that opens a pull request can do much of what internal developer portals promised. We finish with how to migrate while the business keeps shipping, where to start, and what to stop doing today.
Ship It Weekly just turned one. Thank you for listening. The show is a 2026 DevOps Dozen finalist for Best DevOps Community Program or Event, and I'm one for Enterprise DevOps Champion of the Year. Voting is open through December 31.
Highlights
The Terralith: one state file, and the pain point teams call about most
Mature Terraform: automation, OIDC, policy and no local applies
Spacelift, Terraform Cloud pricing and the alternatives
Matt Gowie is the CEO and CTO of Masterpoint (masterpoint.io), an infrastructure as code consultancy based in Boulder, Colorado. He has run Masterpoint for ten years and has worked with Terraform since 2018. His team helps engineering organizations, from fast-growing startups to large enterprises, untangle their Terraform and OpenTofu and ship infrastructure quickly, securely and sanely.
25 years in production: DevOps, SRE, platform, and cloud. Host of Kube Signals on KubeFM. Grafana Champion; Confluent Community Catalyst; IBM Influencer 2026; DevOps Institute & ITIL Ambassador.
Matt Gowie has seen a lot of Terraform. His company, Masterpoint, gets called in when a team's infrastructure as code has gotten away from them, and he's been doing that for ten years. So I asked him the obvious question first: what does messy infrastructure actually look like when you walk in the door?
His answer wasn't about any one tool. It was about patterns. "It comes down to people have bad patterns, or they don't have any thought to the patterns that they're putting in place."
That line ended up framing the whole conversation for me.
The pattern that brings people to Masterpoint most often has a name: the Terralith. One giant root module, one monolithic state file, everything in it. Matt said that if he looks across all of his clients, it's probably the number one pain point they get called in to fix.
I've lived in a Terralith. Most of us have. It starts as the sensible thing, one repo, one state, easy to reason about. Then the plan takes ten minutes, every change has the whole platform as its blast radius, and somebody starts reaching for
-targetto get anything done.Which is exactly what Matt looks for. I asked him what separates a mature Terraform setup from a repo that just has a lot of Terraform in it. His answer: automation. OIDC roles. A new root module gets delivered through GitOps, not by hand. Real policy on what gets through a pull request, and who has to approve it. And then the smell test: "Anytime anybody's doing local applies, usually that's a smell." When I added targeting to the list, his answer was quick: "If you're doing targets, let's talk." A target, to him, means your state file is too big or your workflow is broken.
Near the end I asked what teams should stop doing immediately, and he came back to the same place. "If you're Series A and above and you have local applies, I think you're doing something wrong." There are reasons to break glass. But for the most part, infrastructure should be driven through your automation tool, because Git is the record of what happened to your infrastructure, and your laptop isn't.
Then we got to Terragrunt, and Matt said the line that became the cold open: "I honestly think of Terragrunt as antiquated nowadays. I think a lot of the problems that it was trying to solve are very solvable in vanilla Terraform, vanilla OpenTofu."
That's a strong take, and I think it deserves some context. In my experience, most teams that use Terragrunt today use it for the dynamic state file management: create a bucket, and the state files for each module get generated for you. Matt's point is that OpenTofu's dynamic backend solves that now, and that it was never that hard a problem to begin with. The other big feature,
run-alland dependencies between stacks, is really an attempt to solve the Terralith by breaking it up and wiring the pieces back together. And his view is that those dependencies are rarely as hard as we make them. His example: if your network stack gets recreated, you'd have had to destroy the database first anyway. "It's like you don't actually have a problem. And I think we've deluded ourselves into thinking that you might."He was fair about it. People are bought in, some use it for good reasons, and if you want a framework, he'd point you at Atmos or Terramate, which take completely different approaches. For transparency, Masterpoint is a Spacelift partner, and Matt said up front that makes him "fairly biased" on the tooling side.
The disaster recovery part was my favorite stretch of the conversation, because it's something I've argued about for years.
The dream is a DR setup where you press one button and the whole platform comes up in another region with a clean apply. My experience is that it doesn't work like that. Remote state lookups, data sources pointing at other state files, IAM and VPCs that have to exist before the databases. There's always some chicken-and-egg step you can't apply cleanly.
Matt went further. "That's not the reality, folks. You gotta have a playbook and you gotta go through it. You gotta make sure that playbook works." His team has built DR for clients, and his argument is about return on investment. You can spend a lot of time and money wiring everything into one button, or you can document it in a playbook, test it, and spend that time somewhere with a bigger payoff.
And sometimes the right answer is that you don't need it at all. "We have clients who come to us and they're like, 'We need the fastest DR setup ever.' And then we do a little bit of business analysis and we're like, 'No, you don't.'" Are you actually losing millions of dollars in those five minutes? If not, the real comparison is a system that's a beast to maintain versus hiring five more people. I think that's the right way to frame DR: as a business decision, not an engineering trophy.
Then we got to AI, because Matt gave a talk at IaCConf called "From IaC to Agents: AI's Disruption of Infrastructure Operations." He said he used it as an excuse to answer his own question: should he still build a business around infrastructure as code, or is all of this about to change?
His answer, as he put it himself: "IaC isn't going anywhere." Agents are helping teams ship faster and more correctly, with compliance and guardrails in place. But the work that matters is giving the agent the right box to work in. At Masterpoint, that means MCP servers for Spacelift, Datadog and AWS, so the agent can see the real infrastructure. It means rules that encode your patterns, and skills for the repeatable jobs. His example was upgrading Terraform across hundreds of root modules without blowing one up, and catching the one module that quietly uses a feature you'd lose moving to OpenTofu.
That's the same patterns point from the start of the conversation. AI doesn't fix bad patterns. It repeats whatever patterns you give it, faster.
It also changes the platform engineering conversation. Matt likes the platform engineering title better than "DevOps engineer", which he thinks has been stretched to mean too many things. He likes self service and golden paths. What he doesn't buy is the idea that you need an internal developer portal to get there. His alternative is a skill. If everyone has access to an agent, you build a skill that says "give me a new database." It walks an application engineer through the three things they're allowed to choose, and then it opens the pull request. "You don't need the fancy portal with a React engineer who specializes in Backstage."
I've been thinking the same thing. A service catalog can be delivered a lot of ways now, and a portal is just one of them.
The advice I'd take away isn't a tool. When I asked where a team with messy infrastructure should start, Matt said to look at your own workflow. What are you spending too much time on, maybe doing a little manually? What does it cost the teams downstream of you? He described teams that decide IaC pipelines are simple, vibe-code a set of GitHub Actions workflows, add three features the next week and fix five things the week after, until "they've suddenly built this Rube Goldberg machine because they think they could reinvent the wheel."
The wheel is already invented. Find the thing that hurts most, fix that, and then ask the question again.
That's a retro, really. Just aimed at your infrastructure instead of your last incident.