WEBVTT

00:00:00.880 --> 00:00:03.679
The following is a conversation with

00:00:03.679 --> 00:00:07.200
Vincent Smith on the latest developments

00:00:07.200 --> 00:00:09.360
around Terraform.

00:00:09.360 --> 00:00:11.360
Sorry, I I couldn't resist the Lex

00:00:11.360 --> 00:00:14.000
Friedman inspired introduction.

00:00:14.000 --> 00:00:18.400
Well, I know Vincent from uh Singapore.

00:00:18.400 --> 00:00:21.119
He's he's out there somewhere in Asia.

00:00:21.119 --> 00:00:24.240
He's a he's a thorough veteran of all

00:00:24.240 --> 00:00:26.800
things infrastructure, as am I. I'm

00:00:26.800 --> 00:00:29.039
based in the UK

00:00:29.039 --> 00:00:30.800
and an infrastructure engineer is my day

00:00:30.800 --> 00:00:32.800
job. What is an infrastructure engineer?

00:00:32.800 --> 00:00:36.480
I help run those software services that

00:00:36.480 --> 00:00:40.559
you use. I sort of help uh provision

00:00:40.559 --> 00:00:43.120
those cloud and manage and govern those

00:00:43.120 --> 00:00:46.640
cloud services usually AWS.

00:00:46.640 --> 00:00:50.960
And uh what one way to provision those

00:00:50.960 --> 00:00:53.840
resources is with a popular uh project

00:00:53.840 --> 00:00:57.280
called Terraform which fairly recently

00:00:57.280 --> 00:01:00.559
uh got bought by IBM and relicicensed uh

00:01:00.559 --> 00:01:03.920
under like a commercial license. So the

00:01:03.920 --> 00:01:07.280
thing that everyone uses the terraform

00:01:07.280 --> 00:01:11.280
is now uh in a sort of a interesting

00:01:11.280 --> 00:01:14.400
place and the conversation um that

00:01:14.400 --> 00:01:16.880
follows is Vince and I just chatting

00:01:16.880 --> 00:01:19.920
about it and hopefully you enjoy it.

00:01:19.920 --> 00:01:24.080
Please comment below and um I will uh

00:01:24.080 --> 00:01:25.600
try my best to answer all your

00:01:25.600 --> 00:01:27.759
questions. Thank you.

00:01:27.759 --> 00:01:29.520
>> So what's the tea?

00:01:29.520 --> 00:01:31.520
>> What's the tea? So you had some you had

00:01:31.520 --> 00:01:34.159
some juicy infrastructure gossip.

00:01:34.159 --> 00:01:38.000
>> Okay. So maybe some background like

00:01:38.000 --> 00:01:40.320
there's quite a few companies built

00:01:40.320 --> 00:01:42.159
around Terraform.

00:01:42.159 --> 00:01:44.560
Some of them being Space Lift, M0, you

00:01:44.560 --> 00:01:46.320
know, you know the whole deal with the

00:01:46.320 --> 00:01:48.720
the licensing change around Terraform

00:01:48.720 --> 00:01:51.439
and um a lot of companies forking the

00:01:51.439 --> 00:01:54.640
last uh Mozilla public licensed version

00:01:54.640 --> 00:01:56.159
of Terraform and then maintaining it as

00:01:56.159 --> 00:01:58.000
a fork under open tofu. Right.

00:01:58.000 --> 00:02:01.920
>> Right. And um aside from those

00:02:01.920 --> 00:02:04.960
companies, there's also Digger. I'm not

00:02:04.960 --> 00:02:07.119
sure how much Digger.dev is involved in

00:02:07.119 --> 00:02:09.520
this open TOFU effort. I'm not sure

00:02:09.520 --> 00:02:11.520
actually who are the founding companies

00:02:11.520 --> 00:02:14.879
behind OpenTofu. Um the the the term

00:02:14.879 --> 00:02:18.000
Taco Terapform automation TA

00:02:18.000 --> 00:02:21.440
collaboration CO and software. So Tacos,

00:02:21.440 --> 00:02:24.480
right? T A C O S Terafform automation

00:02:24.480 --> 00:02:25.840
collaboration software.

00:02:25.840 --> 00:02:26.640
>> Okay. Okay.

00:02:26.640 --> 00:02:28.560
>> Okay. So a lot of this Terapform

00:02:28.560 --> 00:02:30.080
automation and collaboration software

00:02:30.080 --> 00:02:31.840
examples are Teraphform Cloud where you

00:02:31.840 --> 00:02:35.120
push code into Git and then it triggers

00:02:35.120 --> 00:02:38.400
a a run of Terapform plan and apply. Um

00:02:38.400 --> 00:02:41.280
and and so Atlantis is a famous uh open

00:02:41.280 --> 00:02:42.080
source tacos.

00:02:42.080 --> 00:02:43.840
>> Yeah, I I just have Digger open right

00:02:43.840 --> 00:02:46.640
now and it looks like it just reminds me

00:02:46.640 --> 00:02:48.160
of Atlantis.

00:02:48.160 --> 00:02:49.680
>> Yeah, so Digger is an alternative to

00:02:49.680 --> 00:02:52.400
Atlantis with the premise being why do I

00:02:52.400 --> 00:02:54.480
need a separate EC2 instance when I hub

00:02:54.480 --> 00:02:56.959
a whole bunch of CI/CD runners. So what

00:02:56.959 --> 00:03:00.000
they do is they give you CI/CD workflows

00:03:00.000 --> 00:03:03.519
for um GitLab and GitHub actions and

00:03:03.519 --> 00:03:05.519
then they simply have an orchestration

00:03:05.519 --> 00:03:09.040
API that those runner workflows can you

00:03:09.040 --> 00:03:12.800
know be orchestrated with. So whenever

00:03:12.800 --> 00:03:15.760
um a an event comes into the GitHub, it

00:03:15.760 --> 00:03:18.080
maybe triggers through the orchestration

00:03:18.080 --> 00:03:19.280
layer and the orchestration layer would

00:03:19.280 --> 00:03:21.440
then dispatch uh dispatch uh GitHub

00:03:21.440 --> 00:03:23.440
workflow. So it actually uses your

00:03:23.440 --> 00:03:25.440
GitHub runners that you may have

00:03:25.440 --> 00:03:27.280
self-hosted or that you are having part

00:03:27.280 --> 00:03:29.840
of your GitHub hosting to to run the

00:03:29.840 --> 00:03:32.159
terraform jobs, right? You don't have a

00:03:32.159 --> 00:03:34.799
separate terapform instance. So

00:03:34.799 --> 00:03:39.360
>> so their view on how is is the minimal

00:03:39.360 --> 00:03:42.159
like impact like the easiest fit into

00:03:42.159 --> 00:03:46.319
existing uh company um workflows. So

00:03:46.319 --> 00:03:49.280
they build digger in that uh frame and

00:03:49.280 --> 00:03:51.120
then they mentioned like you know what's

00:03:51.120 --> 00:03:52.799
really missing and a big problem with

00:03:52.799 --> 00:03:56.560
Atlantis as well is the ability to just

00:03:56.560 --> 00:03:59.360
manage the orchestration. So Hashi Hashi

00:03:59.360 --> 00:04:01.439
conference happened last week where

00:04:01.439 --> 00:04:02.959
Hashikov is going to make a lot of

00:04:02.959 --> 00:04:04.640
announcements. So there was actually

00:04:04.640 --> 00:04:07.280
quite a lot of um things or news

00:04:07.280 --> 00:04:09.840
happening around Hashik um from other

00:04:09.840 --> 00:04:13.040
companies trying to you know use the

00:04:13.040 --> 00:04:14.159
event to also

00:04:14.159 --> 00:04:15.840
>> Wow, that must be such a cool event.

00:04:15.840 --> 00:04:17.840
Atlanta. Okay, cool.

00:04:17.840 --> 00:04:18.160
>> Okay.

00:04:18.160 --> 00:04:18.720
>> Yeah.

00:04:18.720 --> 00:04:19.199
>> Yep.

00:04:19.199 --> 00:04:21.919
>> So So last year on Hashicon they

00:04:21.919 --> 00:04:23.440
announced

00:04:23.440 --> 00:04:26.800
uh stack beta. I think the two years ago

00:04:26.800 --> 00:04:29.040
they announced uh terraform stacks

00:04:29.040 --> 00:04:31.919
private beta and then public beta and

00:04:31.919 --> 00:04:34.080
now it's finally ga general available.

00:04:34.080 --> 00:04:35.759
So what is terraform stacks? Steraphhone

00:04:35.759 --> 00:04:37.840
stacks is basically the the ability to

00:04:37.840 --> 00:04:40.720
define multiple terraform states in one

00:04:40.720 --> 00:04:43.680
stack. So that they for example a common

00:04:43.680 --> 00:04:46.320
scenario is you have a network and then

00:04:46.320 --> 00:04:47.840
you have a Kubernetes cluster and then

00:04:47.840 --> 00:04:50.000
you have some Argo CD deployment that

00:04:50.000 --> 00:04:51.440
needs to depend on that Kubernetes

00:04:51.440 --> 00:04:55.600
cluster right so you can

00:04:55.600 --> 00:04:57.840
those are all all individual components

00:04:57.840 --> 00:04:59.199
right the network has to exist and

00:04:59.199 --> 00:05:00.479
create all the subnets private and

00:05:00.479 --> 00:05:02.160
public subnets for the application nodes

00:05:02.160 --> 00:05:03.680
to be provisioned in. So the Kubernetes

00:05:03.680 --> 00:05:05.120
cluster can only be created after the

00:05:05.120 --> 00:05:06.960
network has been created. So Terapform

00:05:06.960 --> 00:05:08.800
STS will help you to orchestrate across

00:05:08.800 --> 00:05:10.720
multiple terapform states.

00:05:10.720 --> 00:05:13.520
>> So this is something that is cloud only,

00:05:13.520 --> 00:05:15.039
right? They will this is not part of the

00:05:15.039 --> 00:05:17.759
Terapform CLI until the most recent

00:05:17.759 --> 00:05:19.280
release where you can actually use the

00:05:19.280 --> 00:05:22.160
Terraform CLI to query the cloud stacks.

00:05:22.160 --> 00:05:24.479
But cloud stacks is cloud only except

00:05:24.479 --> 00:05:26.320
for some CLI to get some information

00:05:26.320 --> 00:05:27.520
about your stacks. But but wait a

00:05:27.520 --> 00:05:28.960
minute, Terraform must have had this

00:05:28.960 --> 00:05:30.800
feature before to depend on another

00:05:30.800 --> 00:05:33.199
stack for another I mean you could you

00:05:33.199 --> 00:05:34.880
can fish out values from another

00:05:34.880 --> 00:05:36.720
>> Yes, you can fish out values and I

00:05:36.720 --> 00:05:38.320
believe they just use workspaces and

00:05:38.320 --> 00:05:40.240
outputs between workspaces but they

00:05:40.240 --> 00:05:41.520
didn't have a crossworkspace

00:05:41.520 --> 00:05:44.320
orchestration uh um feature as far as

00:05:44.320 --> 00:05:44.960
I'm aware.

00:05:44.960 --> 00:05:46.720
>> What what does orchestration mean like

00:05:46.720 --> 00:05:48.240
like a like a like a

00:05:48.240 --> 00:05:49.919
>> this coordination

00:05:49.919 --> 00:05:52.000
>> like depends on on things like this?

00:05:52.000 --> 00:05:54.080
>> Yes. like I want to provision a new

00:05:54.080 --> 00:05:55.280
environment and that environment

00:05:55.280 --> 00:05:57.520
consists of a network, a cluster and a

00:05:57.520 --> 00:06:00.560
githops controller and the uh network

00:06:00.560 --> 00:06:02.000
needs to be created first then the

00:06:02.000 --> 00:06:03.919
cluster then the controller. Okay.

00:06:03.919 --> 00:06:04.800
>> So yeah

00:06:04.800 --> 00:06:06.319
>> so when you say orchestration I'm just

00:06:06.319 --> 00:06:08.720
like mapping it into GitHub workflows.

00:06:08.720 --> 00:06:11.280
Yeah. But okay carry on. when yeah when

00:06:11.280 --> 00:06:12.639
I say orchestration I mean like

00:06:12.639 --> 00:06:15.039
coordination between different um you

00:06:15.039 --> 00:06:17.840
know activities that need to be ran and

00:06:17.840 --> 00:06:19.759
and you know orchestrated you know the

00:06:19.759 --> 00:06:21.360
events between them that trigger the

00:06:21.360 --> 00:06:23.600
activities or actions to be

00:06:23.600 --> 00:06:26.240
>> executable something

00:06:26.240 --> 00:06:28.560
maybe more like a make file in my you

00:06:28.560 --> 00:06:30.800
know Dumbo brain you know

00:06:30.800 --> 00:06:33.440
>> a make file gives you a couple of that's

00:06:33.440 --> 00:06:35.120
more like a task runner right a make

00:06:35.120 --> 00:06:36.560
file gives you a couple of targets to

00:06:36.560 --> 00:06:39.039
execute and then you you are the

00:06:39.039 --> 00:06:40.720
orchestrator usually that says first I

00:06:40.720 --> 00:06:43.039
need to run this make file has like some

00:06:43.039 --> 00:06:44.319
minimum orchestration

00:06:44.319 --> 00:06:47.039
>> well it has like files so you you you

00:06:47.039 --> 00:06:48.960
say like you know I need this file food

00:06:48.960 --> 00:06:52.160
to be built before this file bar so so

00:06:52.160 --> 00:06:54.479
it it will run the target for fu but to

00:06:54.479 --> 00:06:56.400
be honest make files are never quite

00:06:56.400 --> 00:06:58.880
used that way but uh anyway we're

00:06:58.880 --> 00:07:00.880
getting distracted here so orchestration

00:07:00.880 --> 00:07:04.240
I'm I'm I'm all aboard on GA

00:07:04.240 --> 00:07:06.960
>> all right so there's been GA now great

00:07:06.960 --> 00:07:09.840
um however

00:07:09.840 --> 00:07:12.560
A lot of these Terraform automation and

00:07:12.560 --> 00:07:15.120
collaborations software or tacos have

00:07:15.120 --> 00:07:17.199
switched to a resource under management

00:07:17.199 --> 00:07:20.000
pricing mechanism where you're being

00:07:20.000 --> 00:07:23.120
charged for every resource that um they

00:07:23.120 --> 00:07:25.440
manage for you and so if you have a lot

00:07:25.440 --> 00:07:27.919
of Terraform resources then you are

00:07:27.919 --> 00:07:30.400
getting a very big bill over time right

00:07:30.400 --> 00:07:32.639
>> yeah yeah I mean that's that's really

00:07:32.639 --> 00:07:35.280
evident in my current client with data

00:07:35.280 --> 00:07:37.199
dog I mean when when you look at each

00:07:37.199 --> 00:07:39.199
resource cost. It's cheap,

00:07:39.199 --> 00:07:41.199
>> but when you have a zillion resources

00:07:41.199 --> 00:07:43.199
and the sprawling cloud of which you

00:07:43.199 --> 00:07:46.560
inevitably do, it's really expensive,

00:07:46.560 --> 00:07:51.599
>> right? So, one of the arguments

00:07:51.599 --> 00:07:54.800
of um you know the advantage of of using

00:07:54.800 --> 00:07:56.479
a a collaboration software like you can

00:07:56.479 --> 00:07:59.120
use Atlantis, you can run it selfhosted

00:07:59.120 --> 00:08:00.560
um but it doesn't really do cross tech

00:08:00.560 --> 00:08:02.000
orchestration all this tech feature

00:08:02.000 --> 00:08:05.039
doesn't exist. Um, so I've also

00:08:05.039 --> 00:08:07.039
personally been thinking like how do I

00:08:07.039 --> 00:08:09.440
add on orchestration on top of Atlantis

00:08:09.440 --> 00:08:11.199
for example because Atlantis whenever

00:08:11.199 --> 00:08:14.240
you open a pull request it will um

00:08:14.240 --> 00:08:18.080
identify any GitHub um it will use git

00:08:18.080 --> 00:08:20.160
to identify any changes like based on

00:08:20.160 --> 00:08:22.080
the pull request compare compared to the

00:08:22.080 --> 00:08:24.160
base. It will identify which terraform

00:08:24.160 --> 00:08:26.160
projects may have changed. It can auto

00:08:26.160 --> 00:08:28.000
detect that or you can be very explicit

00:08:28.000 --> 00:08:29.919
on how it needs to track which projects

00:08:29.919 --> 00:08:31.440
need to be run and where those projects

00:08:31.440 --> 00:08:34.159
live. Um and then Terraform will

00:08:34.159 --> 00:08:36.320
basically try to run all of those

00:08:36.320 --> 00:08:37.919
projects. If you want, you can auto

00:08:37.919 --> 00:08:39.519
plan. So every time a pull request is

00:08:39.519 --> 00:08:41.599
opened, it will auto plan any projects

00:08:41.599 --> 00:08:44.320
it believes that may have changed and it

00:08:44.320 --> 00:08:46.240
runs them all at the same time. So

00:08:46.240 --> 00:08:47.680
obviously if you make a pull request

00:08:47.680 --> 00:08:50.000
that creates three different components

00:08:50.000 --> 00:08:52.160
and they depend on each other, then one

00:08:52.160 --> 00:08:53.680
of them will plan successfully, the rest

00:08:53.680 --> 00:08:54.800
of them will fail because the other

00:08:54.800 --> 00:08:57.440
components don't exist, right? So you

00:08:57.440 --> 00:08:59.680
have the ability to do some type of

00:08:59.680 --> 00:09:03.120
orchestration if you manually um define

00:09:03.120 --> 00:09:05.600
or uh execution groups. So Atlantis has

00:09:05.600 --> 00:09:07.600
the ability to say execution group one

00:09:07.600 --> 00:09:09.200
and then execution group two then

00:09:09.200 --> 00:09:10.640
execution group three. A little bit like

00:09:10.640 --> 00:09:13.360
Argo CD uh deployment waves. Uh it's the

00:09:13.360 --> 00:09:14.480
same same.

00:09:14.480 --> 00:09:16.000
>> Okay. Yeah.

00:09:16.000 --> 00:09:18.560
>> Uh it's execution order group.

00:09:18.560 --> 00:09:20.399
>> Okay. Wow.

00:09:20.399 --> 00:09:23.040
>> Yeah. So it's for ordering. And then uh

00:09:23.040 --> 00:09:24.959
about two years ago another PR came in

00:09:24.959 --> 00:09:26.720
which was the ability to define

00:09:26.720 --> 00:09:28.959
dependency. So you uh which basically

00:09:28.959 --> 00:09:31.200
you can use order group to determine

00:09:31.200 --> 00:09:34.640
when to run the which projects only

00:09:34.640 --> 00:09:36.480
after a certain other projects have been

00:09:36.480 --> 00:09:38.720
run. And then the dependency was that uh

00:09:38.720 --> 00:09:41.680
Atlantis would fail or bail if uh one of

00:09:41.680 --> 00:09:43.200
the projects dependencies hasn't been

00:09:43.200 --> 00:09:45.279
applied yet. So it has a very basic

00:09:45.279 --> 00:09:47.120
tracking of of of a project. It says

00:09:47.120 --> 00:09:49.200
like okay this one is planned this one

00:09:49.200 --> 00:09:50.399
is uh

00:09:50.399 --> 00:09:51.680
>> applied

00:09:51.680 --> 00:09:54.240
>> um and and if it tries to if you try to

00:09:54.240 --> 00:09:56.080
run a plan and it and the dependencies

00:09:56.080 --> 00:09:57.519
have not been resolved it will fail

00:09:57.519 --> 00:09:59.200
because it has these dependencies of

00:09:59.200 --> 00:10:01.680
other projects that must be um you know

00:10:01.680 --> 00:10:04.160
resolved first. Yeah. But in in reality

00:10:04.160 --> 00:10:05.760
those two concepts don't really map

00:10:05.760 --> 00:10:07.200
directly to like the ability to

00:10:07.200 --> 00:10:09.920
orchestrate like to say uh run this and

00:10:09.920 --> 00:10:12.080
then run that right. Um because that

00:10:12.080 --> 00:10:13.360
should be sufficient to just say

00:10:13.360 --> 00:10:14.880
dependency. You don't need execution

00:10:14.880 --> 00:10:16.880
group and dependency. treat it

00:10:16.880 --> 00:10:18.640
separately. One is to make sure the

00:10:18.640 --> 00:10:20.160
dependency has been resolved. One is to

00:10:20.160 --> 00:10:21.360
make sure that one

00:10:21.360 --> 00:10:24.160
>> I mean ordering is like very basic uh

00:10:24.160 --> 00:10:26.399
you know you're you're on a maturity

00:10:26.399 --> 00:10:28.399
journey that that's when I see people

00:10:28.399 --> 00:10:30.000
doing that that's like very basic. It's

00:10:30.000 --> 00:10:32.160
like kind of manual but when you have a

00:10:32.160 --> 00:10:36.320
a proper tool like any like make or

00:10:36.320 --> 00:10:38.160
depend or or an orchestrator as you say

00:10:38.160 --> 00:10:39.040
then it becomes

00:10:39.040 --> 00:10:40.959
>> spacelift or m0 they all have the

00:10:40.959 --> 00:10:42.959
ability to do that even teragrant like

00:10:42.959 --> 00:10:45.839
even teragrant within the repository you

00:10:45.839 --> 00:10:47.279
can define dependencies between your

00:10:47.279 --> 00:10:50.480
terafr grunt um you know states and then

00:10:50.480 --> 00:10:54.079
you uh teragrant can do a run all uh to

00:10:54.079 --> 00:10:55.839
orchestrate it so basically run

00:10:55.839 --> 00:10:57.920
everything in in in order so it

00:10:57.920 --> 00:11:00.160
>> it basically builds a graph

00:11:00.160 --> 00:11:01.839
uh across your different Terraform

00:11:01.839 --> 00:11:03.440
states. So, so within a diff within a

00:11:03.440 --> 00:11:05.519
Terraform state, Terraform builds a

00:11:05.519 --> 00:11:07.120
graph between the resources, right? this

00:11:07.120 --> 00:11:08.880
resource need to be created and then it

00:11:08.880 --> 00:11:10.880
that resource depends on it and then and

00:11:10.880 --> 00:11:12.880
it does its own parallelization and like

00:11:12.880 --> 00:11:15.120
execution and and sometimes you need to

00:11:15.120 --> 00:11:16.800
be you need to terraform you need to

00:11:16.800 --> 00:11:18.800
tell terraform hey actually you know

00:11:18.800 --> 00:11:21.040
there's like for example an API gateway

00:11:21.040 --> 00:11:22.959
when you create the API gateway and all

00:11:22.959 --> 00:11:25.600
of its integrations in AWS um if you

00:11:25.600 --> 00:11:27.920
then try to trigger an API uh gateway

00:11:27.920 --> 00:11:31.120
deployment if that if that uh actual

00:11:31.120 --> 00:11:32.720
integration hasn't been resolved or

00:11:32.720 --> 00:11:34.000
doesn't or the lambda hasn't been

00:11:34.000 --> 00:11:35.519
attached and you trigger the deployment

00:11:35.519 --> 00:11:37.760
it will fail AWS API I will say got it

00:11:37.760 --> 00:11:39.200
>> this gateway doesn't have a an

00:11:39.200 --> 00:11:41.360
integration so it will fail and and in

00:11:41.360 --> 00:11:43.360
that case there's no direct dependency

00:11:43.360 --> 00:11:45.200
because the deployment has a dependency

00:11:45.200 --> 00:11:47.519
implicit dependency on the gateway

00:11:47.519 --> 00:11:50.399
because you use the gateway ID uh the

00:11:50.399 --> 00:11:53.040
API gateway identity so when you you use

00:11:53.040 --> 00:11:54.720
that link terapform knows I need to

00:11:54.720 --> 00:11:55.920
create a gateway then I need to create

00:11:55.920 --> 00:11:58.320
the deployment but it does not have an

00:11:58.320 --> 00:11:59.839
explicit dependency between the

00:11:59.839 --> 00:12:01.360
deployment and for example an

00:12:01.360 --> 00:12:03.519
integration on the gateway so when when

00:12:03.519 --> 00:12:06.320
you don't do that then um you get a race

00:12:06.320 --> 00:12:08.800
condition. So it may manifest um

00:12:08.800 --> 00:12:11.200
sometimes it may not manifest right u

00:12:11.200 --> 00:12:13.200
but but the right way is to really say

00:12:13.200 --> 00:12:15.440
like okay this deployment also depends

00:12:15.440 --> 00:12:17.519
on these other resources you know and

00:12:17.519 --> 00:12:19.680
you have to explicitly say it depends on

00:12:19.680 --> 00:12:21.360
this gateway integration with this

00:12:21.360 --> 00:12:22.560
lambda and so on right

00:12:22.560 --> 00:12:23.200
>> yeah got it

00:12:23.200 --> 00:12:25.680
>> so that that becomes very um that works

00:12:25.680 --> 00:12:27.200
really well with terraform within a

00:12:27.200 --> 00:12:28.639
terraform state

00:12:28.639 --> 00:12:31.519
>> so terapform is amazing um in handling

00:12:31.519 --> 00:12:33.120
these resource dependencies sometimes

00:12:33.120 --> 00:12:34.320
you have to give it a little bit of a

00:12:34.320 --> 00:12:36.880
hint uh now from a higher level outside

00:12:36.880 --> 00:12:39.680
of the state. Um, creating dependencies

00:12:39.680 --> 00:12:42.720
between states adds a lot of like

00:12:42.720 --> 00:12:44.639
additional orchestration overhead that

00:12:44.639 --> 00:12:46.800
makes it difficult sometimes. Like one

00:12:46.800 --> 00:12:48.160
of the most common problem is I'm going

00:12:48.160 --> 00:12:49.920
to change my network for example and I'm

00:12:49.920 --> 00:12:52.399
going to change my output and now my

00:12:52.399 --> 00:12:54.959
subnets are no longer a map of key value

00:12:54.959 --> 00:12:57.440
pairs. Maybe they become an ordered list

00:12:57.440 --> 00:12:59.279
and then maybe I have another component

00:12:59.279 --> 00:13:02.160
which reads a key and then gets an error

00:13:02.160 --> 00:13:04.399
because there's no longer a map there.

00:13:04.399 --> 00:13:05.920
it's

00:13:05.920 --> 00:13:08.079
right I understand the complexity

00:13:08.079 --> 00:13:10.880
>> that happens um so why do people

00:13:10.880 --> 00:13:12.959
separate everything right why why do

00:13:12.959 --> 00:13:14.639
they create one state for the network

00:13:14.639 --> 00:13:16.560
one state for the cluster and that's

00:13:16.560 --> 00:13:19.200
often because of like life cycle um or

00:13:19.200 --> 00:13:20.160
ownership

00:13:20.160 --> 00:13:21.040
>> right

00:13:21.040 --> 00:13:23.519
>> yeah so a network usually has a much

00:13:23.519 --> 00:13:25.760
longer life cycle than the clusters

00:13:25.760 --> 00:13:28.399
within or even the deployments on on

00:13:28.399 --> 00:13:28.800
clusters

00:13:28.800 --> 00:13:30.959
>> I mean I usually say blast radius to to

00:13:30.959 --> 00:13:33.440
to clients like that's why we have so

00:13:33.440 --> 00:13:35.040
many goddamn stacks.

00:13:35.040 --> 00:13:39.839
>> Yes. Uh blast radius and um with that is

00:13:39.839 --> 00:13:42.320
also for example if you use and again

00:13:42.320 --> 00:13:43.760
this comes back to like a lot of

00:13:43.760 --> 00:13:45.279
discussions within the terraform space

00:13:45.279 --> 00:13:48.639
which is like do I always uh only apply

00:13:48.639 --> 00:13:51.760
after I merge. So um you know only apply

00:13:51.760 --> 00:13:54.079
off the master branch or do I like do I

00:13:54.079 --> 00:13:56.560
allow people to run apply from a from a

00:13:56.560 --> 00:13:58.399
branch and basically the branch is

00:13:58.399 --> 00:13:59.920
modifying the states which is shared

00:13:59.920 --> 00:14:01.519
between the master branch and then if

00:14:01.519 --> 00:14:03.279
somebody runs an apply then they may

00:14:03.279 --> 00:14:05.600
like inadvertently undo my changes

00:14:05.600 --> 00:14:07.760
because my merged yet right

00:14:07.760 --> 00:14:09.360
>> I see that all the time in my current

00:14:09.360 --> 00:14:11.680
client we have a channel called

00:14:11.680 --> 00:14:13.519
Terraform stack wars or something like

00:14:13.519 --> 00:14:16.399
that people basically announce that I'm

00:14:16.399 --> 00:14:18.000
going to make a change to the monitoring

00:14:18.000 --> 00:14:19.839
stack or the networking stack.

00:14:19.839 --> 00:14:22.880
and then they create a branch and imply

00:14:22.880 --> 00:14:25.920
it in dev and uh of course people need

00:14:25.920 --> 00:14:28.480
to somehow lock it so that they don't

00:14:28.480 --> 00:14:30.160
stamp on each other

00:14:30.160 --> 00:14:32.000
>> right so Atlantis has a very good

00:14:32.000 --> 00:14:35.040
feature there and a lot of organizations

00:14:35.040 --> 00:14:37.040
follow Atlantis way of doing things

00:14:37.040 --> 00:14:38.560
which is as soon as you open a pull

00:14:38.560 --> 00:14:41.120
request and Atlantis runs a plan it

00:14:41.120 --> 00:14:42.959
basically keeps a lock on that

00:14:42.959 --> 00:14:44.079
particular state

00:14:44.079 --> 00:14:46.079
>> so if another pull request goes against

00:14:46.079 --> 00:14:47.839
that particular state like Atlantis

00:14:47.839 --> 00:14:49.600
detects a project and and tries to plan

00:14:49.600 --> 00:14:51.199
it, it will get an error saying, "Oh,

00:14:51.199 --> 00:14:53.279
this pull request number 34 owned by

00:14:53.279 --> 00:14:55.519
Vincent owns the lock on this particular

00:14:55.519 --> 00:14:57.120
project.

00:14:57.120 --> 00:14:58.880
The lock is quite needs to be quite long

00:14:58.880 --> 00:15:00.320
lived because like

00:15:00.320 --> 00:15:02.160
>> as long as the PR holds the lock so it's

00:15:02.160 --> 00:15:04.639
in a database like like an object

00:15:04.639 --> 00:15:07.600
database keeping track of the lock and

00:15:07.600 --> 00:15:10.399
um and so basically until somebody goes

00:15:10.399 --> 00:15:12.800
in and clears the lock from that PR that

00:15:12.800 --> 00:15:14.000
PR holds the lock.

00:15:14.000 --> 00:15:14.480
>> Nice.

00:15:14.480 --> 00:15:16.880
>> Right. And that's because Atlantis tries

00:15:16.880 --> 00:15:18.639
to be deterministic. So when you when it

00:15:18.639 --> 00:15:20.959
auto plans it will write a plan on disk

00:15:20.959 --> 00:15:22.800
and when somebody approves it he will

00:15:22.800 --> 00:15:25.519
approve exactly that plan that run right

00:15:25.519 --> 00:15:28.079
and if something changes um for whatever

00:15:28.079 --> 00:15:30.079
reason if you if you try to trigger an

00:15:30.079 --> 00:15:33.120
apply and you know Terraform tries to

00:15:33.120 --> 00:15:34.880
and this is a terapform feature right

00:15:34.880 --> 00:15:37.040
Atlantis passes the previously generated

00:15:37.040 --> 00:15:38.959
and approved plan from disk into the

00:15:38.959 --> 00:15:41.120
Terraform apply and then the Terapform

00:15:41.120 --> 00:15:42.639
will immediately reject it if it

00:15:42.639 --> 00:15:44.240
discovers that something changed and the

00:15:44.240 --> 00:15:46.160
plan is no longer valid. So the plan has

00:15:46.160 --> 00:15:47.920
become stale. So then you need to like

00:15:47.920 --> 00:15:51.680
rerun plan to get an approval. It can be

00:15:51.680 --> 00:15:53.920
>> depending depending you can be flex. You

00:15:53.920 --> 00:15:55.680
can say as soon as it you know the PR

00:15:55.680 --> 00:15:58.000
has received one one approval it's okay.

00:15:58.000 --> 00:15:59.920
You can use the GitHub approval

00:15:59.920 --> 00:16:02.079
requirements um you know whenever a

00:16:02.079 --> 00:16:03.920
commit is pushed maybe it invalidates

00:16:03.920 --> 00:16:06.480
the PR. So you use the you know your uh

00:16:06.480 --> 00:16:08.959
version control um gates on your pull

00:16:08.959 --> 00:16:09.440
request.

00:16:09.440 --> 00:16:11.040
>> Yeah.

00:16:11.040 --> 00:16:12.560
It sounds like Atlantis has been

00:16:12.560 --> 00:16:14.639
evolving over the years that I I mean I

00:16:14.639 --> 00:16:17.360
haven't used it. Uh so that sounds good.

00:16:17.360 --> 00:16:19.600
I mean does it have does Atlantis for

00:16:19.600 --> 00:16:21.759
example have a feature where if you

00:16:21.759 --> 00:16:24.560
don't destroy anything like you know if

00:16:24.560 --> 00:16:29.199
then just approves

00:16:29.199 --> 00:16:31.120
>> that like some sort of policy is

00:16:31.120 --> 00:16:32.800
>> auto approval.

00:16:32.800 --> 00:16:34.399
>> Um

00:16:34.399 --> 00:16:36.399
that's not actually no not that I'm

00:16:36.399 --> 00:16:38.480
aware of. It's probably possible but it

00:16:38.480 --> 00:16:39.920
would I mean technically everything is

00:16:39.920 --> 00:16:41.759
possible right but it would require a

00:16:41.759 --> 00:16:43.120
little bit of additional I don't have

00:16:43.120 --> 00:16:45.600
any um such setup currently

00:16:45.600 --> 00:16:47.040
>> but this is definitely like another

00:16:47.040 --> 00:16:50.720
requirement that um people ask it's like

00:16:50.720 --> 00:16:52.880
whenever like I want an auto approve or

00:16:52.880 --> 00:16:56.160
an auto deploy flow so I want Atlantis

00:16:56.160 --> 00:16:58.639
approval to automatically happen and

00:16:58.639 --> 00:17:00.800
>> yeah I mean I mean and there's probably

00:17:00.800 --> 00:17:02.720
there's probably AI in the mix here you

00:17:02.720 --> 00:17:04.160
know like

00:17:04.160 --> 00:17:06.079
>> you don't know I would avoid AI in those

00:17:06.079 --> 00:17:07.600
situations to be honest.

00:17:07.600 --> 00:17:10.079
>> Well, I've I've been using Copilot in

00:17:10.079 --> 00:17:13.679
GitHub Copilot um as a reviewer in in

00:17:13.679 --> 00:17:15.919
PRs in in the team and I'm actually

00:17:15.919 --> 00:17:17.760
quite surprised how good it is in some

00:17:17.760 --> 00:17:21.120
ways. It's it's better than any like I

00:17:21.120 --> 00:17:23.520
mean is it better it complements any

00:17:23.520 --> 00:17:25.439
like linting tool and things like this,

00:17:25.439 --> 00:17:26.000
doesn't it?

00:17:26.000 --> 00:17:28.000
>> We can go deeper on like all of the

00:17:28.000 --> 00:17:29.280
things that we can do with context

00:17:29.280 --> 00:17:31.120
because this really relates to the tea

00:17:31.120 --> 00:17:32.480
that I want to talk about.

00:17:32.480 --> 00:17:33.120
>> Okay. Okay.

00:17:33.120 --> 00:17:33.440
>> Okay.

00:17:33.440 --> 00:17:37.280
>> Oh my god. 20 minutes in. Yeah. So, so

00:17:37.280 --> 00:17:39.360
you you'll have to edit this heavily,

00:17:39.360 --> 00:17:41.280
but we've basically explained some of

00:17:41.280 --> 00:17:43.280
the, you know, options because what you

00:17:43.280 --> 00:17:44.960
just mentioned is we have some manual

00:17:44.960 --> 00:17:47.039
coordination to lock PRs. Atlantis does

00:17:47.039 --> 00:17:49.679
that for you. Um, but this means that

00:17:49.679 --> 00:17:54.320
Atlantis locks the PR and then it has a

00:17:54.320 --> 00:17:56.880
apply before merge philosophy and a lot

00:17:56.880 --> 00:17:58.160
of organizations are like this is

00:17:58.160 --> 00:18:00.799
unacceptable. uh you know trunk is the

00:18:00.799 --> 00:18:03.120
source of truth and um we cannot have

00:18:03.120 --> 00:18:04.720
anything applied until it landed on

00:18:04.720 --> 00:18:06.320
trunk that's where it should be

00:18:06.320 --> 00:18:08.000
>> merge uh okay

00:18:08.000 --> 00:18:09.600
>> yeah because Atlantis keeps the lock on

00:18:09.600 --> 00:18:12.000
the PR as soon as everything is applied

00:18:12.000 --> 00:18:14.320
within the PR then that needs to be

00:18:14.320 --> 00:18:15.600
merged as soon as possible needs to go

00:18:15.600 --> 00:18:18.799
into trunk right because now the state

00:18:18.799 --> 00:18:20.799
file reflects whatever is on that branch

00:18:20.799 --> 00:18:22.480
yeah and if that is not merged and

00:18:22.480 --> 00:18:24.640
somebody you know runs Terafform from

00:18:24.640 --> 00:18:26.240
trunk from their laptop without you know

00:18:26.240 --> 00:18:28.400
having this at

00:18:28.400 --> 00:18:30.320
>> I Atlant's lock is purely on the

00:18:30.320 --> 00:18:31.840
Atlantic side. It doesn't

00:18:31.840 --> 00:18:33.840
>> contentious but it doesn't it doesn't

00:18:33.840 --> 00:18:36.240
seem like such a big deal to me really

00:18:36.240 --> 00:18:38.480
because you're working.

00:18:38.480 --> 00:18:39.919
>> Yeah. So some organizations are very

00:18:39.919 --> 00:18:43.440
strict and so some uh some workflows

00:18:43.440 --> 00:18:45.679
they they say apply before merge is

00:18:45.679 --> 00:18:48.640
incorrect. It should be merge and then

00:18:48.640 --> 00:18:52.640
apply. So my main I am from the Atlantis

00:18:52.640 --> 00:18:54.559
like I grew up with Atlantis. that glad

00:18:54.559 --> 00:18:57.200
this solved a lot of my problems and and

00:18:57.200 --> 00:18:59.280
for me I have experienced many times

00:18:59.280 --> 00:19:01.360
that the plan looks perfect but when you

00:19:01.360 --> 00:19:04.400
try to apply it fails right for whatever

00:19:04.400 --> 00:19:07.520
reason because you know a terapform plan

00:19:07.520 --> 00:19:09.600
doesn't really validate like

00:19:09.600 --> 00:19:10.880
>> yeah yeah yeah

00:19:10.880 --> 00:19:13.840
>> I guess I guess terraform crud reads

00:19:13.840 --> 00:19:16.240
only the attributes and then does this

00:19:16.240 --> 00:19:17.840
internal validation of like this needs

00:19:17.840 --> 00:19:20.960
to change and then um the actual ter AWS

00:19:20.960 --> 00:19:24.000
provider may get an invalid response I

00:19:24.000 --> 00:19:26.400
mean to be honest I I prefer a workflow

00:19:26.400 --> 00:19:30.240
where we don't even plan because because

00:19:30.240 --> 00:19:32.960
>> plan doesn't catch probably I'm making a

00:19:32.960 --> 00:19:36.480
crazy figure about AI it plan doesn't

00:19:36.480 --> 00:19:38.799
catch like 80% of the the issues that

00:19:38.799 --> 00:19:40.160
you might get when you when you're

00:19:40.160 --> 00:19:42.320
deploying infrastructure. I mean it it

00:19:42.320 --> 00:19:46.080
it doesn't really help you move fast. Um

00:19:46.080 --> 00:19:48.960
>> okay right so so so there's just I

00:19:48.960 --> 00:19:50.480
wanted to highlight that Atlantis is one

00:19:50.480 --> 00:19:51.600
solution. It lacks a lot of the

00:19:51.600 --> 00:19:53.120
orchestrations, gives you a lot of other

00:19:53.120 --> 00:19:54.559
stuff. Um,

00:19:54.559 --> 00:19:56.799
>> and it's open source and it's it's it's

00:19:56.799 --> 00:19:58.480
easy. You don't have to worry about

00:19:58.480 --> 00:20:00.720
>> can run it on $15 EC2 instance. You can

00:20:00.720 --> 00:20:02.960
go to the digger docs where they go into

00:20:02.960 --> 00:20:04.880
like pretty good arguments against it

00:20:04.880 --> 00:20:06.640
saying like, well, you know, it's never

00:20:06.640 --> 00:20:08.400
just one Atlantis instance. They have

00:20:08.400 --> 00:20:10.640
like a a doc where they compare the

00:20:10.640 --> 00:20:12.799
problems with Atlantis. I believe they

00:20:12.799 --> 00:20:15.360
say uh Atlantis is never Yeah. compared

00:20:15.360 --> 00:20:16.880
to Atlantis. I like their arguments.

00:20:16.880 --> 00:20:20.000
It's like it's never just one instance.

00:20:20.000 --> 00:20:22.080
Where is

00:20:22.080 --> 00:20:25.440
I can't see it now. But there was or

00:20:25.440 --> 00:20:28.320
maybe I I remember it from another um

00:20:28.320 --> 00:20:29.679
tacos. Uh

00:20:29.679 --> 00:20:32.480
>> but but since but since Atlas is just

00:20:32.480 --> 00:20:36.559
doesn't is is not like cloud pricing. I

00:20:36.559 --> 00:20:39.360
mean that's a huge win in my book. They

00:20:39.360 --> 00:20:41.039
don't even mention the price. I I talk

00:20:41.039 --> 00:20:43.679
to to friends of mine that are running,

00:20:43.679 --> 00:20:45.679
you know, 10 thousands of Terraform

00:20:45.679 --> 00:20:48.159
resources of, you know, very big scale

00:20:48.159 --> 00:20:51.919
and when they look at any RUM quotes,

00:20:51.919 --> 00:20:54.320
it's just like blows up their cloud bill

00:20:54.320 --> 00:20:56.480
because it's it goes from I'm I'm paying

00:20:56.480 --> 00:20:58.720
$20 a month from a, you know, a decent

00:20:58.720 --> 00:21:00.640
EC2 instance running Atlantis or

00:21:00.640 --> 00:21:02.000
running, you know, on a Kubernetes

00:21:02.000 --> 00:21:04.640
container. So, it's even less um, you

00:21:04.640 --> 00:21:07.280
know, CPU memory usage and I can, you

00:21:07.280 --> 00:21:08.640
know, so I'm not paying anything right

00:21:08.640 --> 00:21:10.480
now. I'm paying like 20 bucks max and

00:21:10.480 --> 00:21:12.960
I'm going to be facing $10,000 a month

00:21:12.960 --> 00:21:15.440
if I switch to like the cloud just

00:21:15.440 --> 00:21:16.960
because I want that like additional

00:21:16.960 --> 00:21:18.799
policy as code or I want additional

00:21:18.799 --> 00:21:21.280
orchestration features or arbback like

00:21:21.280 --> 00:21:23.039
that's not in Atlantis right you don't

00:21:23.039 --> 00:21:24.799
have proper arback you can do like some

00:21:24.799 --> 00:21:27.600
code owner setup with your GitHub PRs to

00:21:27.600 --> 00:21:29.200
you know only validate that if that

00:21:29.200 --> 00:21:31.280
person approves then it can be applied

00:21:31.280 --> 00:21:33.840
we do some conf test in my organization

00:21:33.840 --> 00:21:36.559
where we we do invalidate like or we

00:21:36.559 --> 00:21:38.480
block a PR if there's any changes to an

00:21:38.480 --> 00:21:40.480
IM policy so that the security has to

00:21:40.480 --> 00:21:42.320
come in and review these changes to IM

00:21:42.320 --> 00:21:43.919
policies for example. So we have some

00:21:43.919 --> 00:21:44.799
conf test like that

00:21:44.799 --> 00:21:46.640
>> some some routings going on.

00:21:46.640 --> 00:21:50.159
>> Yes and conf test is also um like

00:21:50.159 --> 00:21:52.240
hardcoded into Atlantis right you can

00:21:52.240 --> 00:21:54.799
Atlantis has their own workflows and the

00:21:54.799 --> 00:21:56.880
default workflows includes confest so it

00:21:56.880 --> 00:21:59.760
runs an OPA um policy against your um

00:21:59.760 --> 00:22:02.320
Terapform plan but if you don't want to

00:22:02.320 --> 00:22:05.919
use confest you can use other OPA or um

00:22:05.919 --> 00:22:07.280
other scanners. I I don't think I've

00:22:07.280 --> 00:22:10.320
even used comp like like why is it

00:22:10.320 --> 00:22:11.919
claiming to be

00:22:11.919 --> 00:22:15.679
>> secure by design and

00:22:15.679 --> 00:22:17.600
>> uh maybe because when you run Atlantis

00:22:17.600 --> 00:22:19.360
you're running an EC2 instance that may

00:22:19.360 --> 00:22:21.039
that has a lot of permissions like an IM

00:22:21.039 --> 00:22:22.799
policy that has administrative like uh

00:22:22.799 --> 00:22:25.679
permissions and maybe that's like you

00:22:25.679 --> 00:22:27.679
you are responsible for securing your

00:22:27.679 --> 00:22:29.840
Atlantis because your Atlantis in the

00:22:29.840 --> 00:22:32.000
end is the one that takes or assumes the

00:22:32.000 --> 00:22:34.559
profile to make all the cloud changes

00:22:34.559 --> 00:22:36.720
and then that instance It's quite normal

00:22:36.720 --> 00:22:39.520
though. That's pretty normal.

00:22:39.520 --> 00:22:41.200
>> Yeah, it's

00:22:41.200 --> 00:22:42.640
>> and so I mean it's

00:22:42.640 --> 00:22:44.640
>> because you're hosting an EC2 instance,

00:22:44.640 --> 00:22:46.320
you need to like you can't make it

00:22:46.320 --> 00:22:48.400
publicly accessible, but it needs to

00:22:48.400 --> 00:22:50.240
receive GitHub web hook. So it must have

00:22:50.240 --> 00:22:51.760
some ingress path for

00:22:51.760 --> 00:22:53.600
>> conversely, I'm I'm assuming that if

00:22:53.600 --> 00:22:55.200
you're using digger, you have to hand

00:22:55.200 --> 00:22:56.960
over the crown jewels to digger just

00:22:56.960 --> 00:22:59.120
like CICD to to the ter.

00:22:59.120 --> 00:23:01.039
>> No, they don't. So, so they are purely

00:23:01.039 --> 00:23:03.440
like the orchestration layer that just

00:23:03.440 --> 00:23:05.440
dispatches the the workers and your

00:23:05.440 --> 00:23:07.200
workers are your CI/CD system. So, you

00:23:07.200 --> 00:23:09.520
can you can have those hooked up to your

00:23:09.520 --> 00:23:11.600
GitHub like you have runners for for for

00:23:11.600 --> 00:23:13.679
stuff anyway, right? So, so basically

00:23:13.679 --> 00:23:15.760
they hand off like

00:23:15.760 --> 00:23:18.159
>> I don't Okay. Okay. Let's let's get to

00:23:18.159 --> 00:23:19.919
the the gossip then.

00:23:19.919 --> 00:23:22.000
>> Okay. So, so aside from Atlantis,

00:23:22.000 --> 00:23:23.280
there's Digger, there's Spaceelift,

00:23:23.280 --> 00:23:24.720
there's M0, there's Terot Team, there's

00:23:24.720 --> 00:23:27.039
quite a few. And so Digger has been

00:23:27.039 --> 00:23:29.600
posting these um thought experiments on

00:23:29.600 --> 00:23:31.840
Reddit where they talk about the states

00:23:31.840 --> 00:23:34.159
manager. What if a terraform

00:23:34.159 --> 00:23:36.720
orchestration like Tacos wasn't a

00:23:36.720 --> 00:23:38.159
runner? Like most of these like

00:23:38.159 --> 00:23:40.159
Spacelift, M0, they're all providing

00:23:40.159 --> 00:23:42.480
runners um basically triggered by web

00:23:42.480 --> 00:23:45.039
hooks. But what if you decouple the

00:23:45.039 --> 00:23:47.120
runner infrastructure and just focus on

00:23:47.120 --> 00:23:49.200
the state management part? So the

00:23:49.200 --> 00:23:50.960
biggest problem that we have because we

00:23:50.960 --> 00:23:54.240
are splitting states. Um the biggest

00:23:54.240 --> 00:23:58.080
problem is how do we like manage the

00:23:58.080 --> 00:24:00.159
dependencies between states and and

00:24:00.159 --> 00:24:02.960
identify you know if if one state

00:24:02.960 --> 00:24:05.520
changes what else is impacted because

00:24:05.520 --> 00:24:06.880
for example I make a change to my

00:24:06.880 --> 00:24:08.720
network now I need to invalidate

00:24:08.720 --> 00:24:10.159
everything that depends on my network so

00:24:10.159 --> 00:24:10.799
it may need

00:24:10.799 --> 00:24:12.320
>> so so we we're go we're going back to

00:24:12.320 --> 00:24:14.320
Terraform stacks aren't we here if

00:24:14.320 --> 00:24:15.279
you're talking about states

00:24:15.279 --> 00:24:16.960
>> it's kind of related to the stacks

00:24:16.960 --> 00:24:20.000
stacks capture the dependencies between

00:24:20.000 --> 00:24:24.640
states but the argument from digger on

00:24:24.640 --> 00:24:26.400
Reddit like the thought experiments were

00:24:26.400 --> 00:24:31.120
about like let's imagine an API that you

00:24:31.120 --> 00:24:32.799
only use it to define dependencies

00:24:32.799 --> 00:24:36.240
between your states and it gives you

00:24:36.240 --> 00:24:40.480
endpoints to you know identify any stale

00:24:40.480 --> 00:24:42.240
states. So a state that needs to be

00:24:42.240 --> 00:24:44.559
replanned because something it depends

00:24:44.559 --> 00:24:47.039
on has changed. So basically track the

00:24:47.039 --> 00:24:49.679
edges, color the edges when outputs

00:24:49.679 --> 00:24:52.799
change and then replan or like give an

00:24:52.799 --> 00:24:54.640
basically give back a list of jobs to

00:24:54.640 --> 00:24:56.400
run because there's these states need to

00:24:56.400 --> 00:24:56.960
run, right?

00:24:56.960 --> 00:24:58.559
>> Color color the edges. That's an

00:24:58.559 --> 00:25:00.000
interesting expression. Yeah.

00:25:00.000 --> 00:25:02.480
>> Color the Yeah. Um it literally what it

00:25:02.480 --> 00:25:04.960
does it's a a state multigraph because

00:25:04.960 --> 00:25:06.799
it keeps track of multiple edges between

00:25:06.799 --> 00:25:07.440
states for each

00:25:07.440 --> 00:25:08.960
>> out. Where are these discussions

00:25:08.960 --> 00:25:11.840
happening on terraform or something? on

00:25:11.840 --> 00:25:14.320
the terraform subreddit which was like I

00:25:14.320 --> 00:25:17.120
think posted around maybe June.

00:25:17.120 --> 00:25:18.080
>> Okay.

00:25:18.080 --> 00:25:20.240
>> So state management calendar edges I

00:25:20.240 --> 00:25:22.240
think I'm I'm with you.

00:25:22.240 --> 00:25:24.480
>> Right. So so I was very interested and I

00:25:24.480 --> 00:25:26.720
talked with um with with the the team

00:25:26.720 --> 00:25:28.480
because I'm building something that

00:25:28.480 --> 00:25:30.240
really needs this state orchestration

00:25:30.240 --> 00:25:32.000
and not only the state orchestration but

00:25:32.000 --> 00:25:33.840
I need to hook into it because I

00:25:33.840 --> 00:25:36.000
generate terapform. So I want to be able

00:25:36.000 --> 00:25:38.000
to read the outputs and I want to be

00:25:38.000 --> 00:25:39.679
able to see what's the shape of an

00:25:39.679 --> 00:25:42.000
output. So I want something that can

00:25:42.000 --> 00:25:44.559
give me um or can help me track

00:25:44.559 --> 00:25:46.320
dependencies or outputs and then

00:25:46.320 --> 00:25:48.559
identify what is the source of that

00:25:48.559 --> 00:25:50.240
output and things like that. So I talked

00:25:50.240 --> 00:25:52.000
to them like hey um I want to know what

00:25:52.000 --> 00:25:53.679
you guys like I'm interested to help

00:25:53.679 --> 00:25:54.960
build with this. So I had a call with

00:25:54.960 --> 00:25:56.640
them and they presented to me uh

00:25:56.640 --> 00:25:58.480
something that was they were building in

00:25:58.480 --> 00:26:00.720
stealth at the time and they were just

00:26:00.720 --> 00:26:02.480
wanted to get some feedback and it was

00:26:02.480 --> 00:26:05.279
called open taco. Okay interesting. So

00:26:05.279 --> 00:26:08.080
that was about like two weeks ago. Then

00:26:08.080 --> 00:26:10.720
not much after Terra team the other

00:26:10.720 --> 00:26:13.360
tacos provider announced uh an

00:26:13.360 --> 00:26:15.200
interesting project called state

00:26:15.200 --> 00:26:20.000
graph.dev state graph.dev.

00:26:20.000 --> 00:26:22.559
Yes. So terraform without the state file

00:26:22.559 --> 00:26:24.480
bottleneck. Like they their argument is

00:26:24.480 --> 00:26:26.720
basically the the reason we are

00:26:26.720 --> 00:26:28.640
splitting states is because we don't

00:26:28.640 --> 00:26:30.240
have proper tools to manage our

00:26:30.240 --> 00:26:32.640
terapform state because the terraform

00:26:32.640 --> 00:26:35.200
tool is only able to manage a single

00:26:35.200 --> 00:26:38.400
state. The real problem is if we were to

00:26:38.400 --> 00:26:42.080
create like a massive teralith basically

00:26:42.080 --> 00:26:43.440
one big state where all of your

00:26:43.440 --> 00:26:46.480
environments are and then we improve the

00:26:46.480 --> 00:26:49.200
actual tooling around this single

00:26:49.200 --> 00:26:51.120
massive state and we're able to like

00:26:51.120 --> 00:26:53.760
terraform apply uh slices of it and

00:26:53.760 --> 00:26:56.320
we're able to you know control arbback

00:26:56.320 --> 00:26:58.159
of individual resources like we're able

00:26:58.159 --> 00:27:00.320
to track ownership and and approvals

00:27:00.320 --> 00:27:02.400
against the individual resources. we're

00:27:02.400 --> 00:27:04.720
able to solve a lot of the problems why

00:27:04.720 --> 00:27:06.720
we are having this blast radius and and

00:27:06.720 --> 00:27:07.440
these arguments.

00:27:07.440 --> 00:27:08.880
>> Yeah.

00:27:08.880 --> 00:27:10.480
>> I've been argument is

00:27:10.480 --> 00:27:13.120
>> yeah that I've been thinking this we

00:27:13.120 --> 00:27:15.279
need like a monolithic

00:27:15.279 --> 00:27:19.360
kind of state

00:27:19.360 --> 00:27:20.159
that problem.

00:27:20.159 --> 00:27:20.799
>> Yeah.

00:27:20.799 --> 00:27:22.960
>> Yeah. So they announced like let's get

00:27:22.960 --> 00:27:24.960
rid of this state you know multi-state

00:27:24.960 --> 00:27:28.240
problem. Um and at the same time you

00:27:28.240 --> 00:27:30.640
have uh Tara Grant or Grunt Works

00:27:30.640 --> 00:27:33.200
promoting these uh kill the terit

00:27:33.200 --> 00:27:35.760
advertisement or workshops. It's very

00:27:35.760 --> 00:27:37.440
funny. My LinkedIn feed is like on one

00:27:37.440 --> 00:27:40.000
side Grunt Works you know advertising of

00:27:40.000 --> 00:27:44.400
kill the monolith uh kill the ter

00:27:44.400 --> 00:27:44.799
>> break

00:27:44.799 --> 00:27:47.520
>> breaking the ter

00:27:47.520 --> 00:27:49.440
workshops and they're like um you know

00:27:49.440 --> 00:27:52.000
terits are killing you. You must have

00:27:52.000 --> 00:27:53.679
responded like

00:27:53.679 --> 00:27:56.320
>> a monolithic terapform state.

00:27:56.320 --> 00:27:58.080
>> Well,

00:27:58.080 --> 00:28:00.960
no one ever does that but uh I don't see

00:28:00.960 --> 00:28:03.279
the problem there.

00:28:03.279 --> 00:28:04.880
companies like Grunt works they're like

00:28:04.880 --> 00:28:06.799
consultancy and they're going into a lot

00:28:06.799 --> 00:28:08.960
of places where people you know like in

00:28:08.960 --> 00:28:11.039
in-house develop their own terapform

00:28:11.039 --> 00:28:13.360
setup and then they face all kind of

00:28:13.360 --> 00:28:15.840
issues and basically teragrant is quite

00:28:15.840 --> 00:28:18.320
extreme because when you use teragrant

00:28:18.320 --> 00:28:20.399
you pretty much get one state per module

00:28:20.399 --> 00:28:22.320
so you build one module and then you

00:28:22.320 --> 00:28:24.080
invoke that module and that's one state

00:28:24.080 --> 00:28:26.240
you cannot like have multiple modules

00:28:26.240 --> 00:28:28.159
this is a bit crazy right I mean if you

00:28:28.159 --> 00:28:30.080
imagine how small modules sometimes are

00:28:30.080 --> 00:28:31.679
I can tell you in a previous place I

00:28:31.679 --> 00:28:33.200
worked at we like three years of terror

00:28:33.200 --> 00:28:35.039
grants and we had like 300 or 400

00:28:35.039 --> 00:28:36.480
terraform states. It was insane.

00:28:36.480 --> 00:28:39.679
>> So, so, so I don't understand. So, if

00:28:39.679 --> 00:28:42.080
they do it in such a fragmented way,

00:28:42.080 --> 00:28:45.200
then how can they claim that that the

00:28:45.200 --> 00:28:48.399
monolithic terraform state is a problem?

00:28:48.399 --> 00:28:50.320
>> No, they're coming into organizations

00:28:50.320 --> 00:28:52.240
and they're saying, uh, we will help you

00:28:52.240 --> 00:28:53.600
break down your terror because all of

00:28:53.600 --> 00:28:57.200
your problems are because of the terith.

00:28:57.200 --> 00:28:59.200
>> That's crazy to me, but okay.

00:28:59.200 --> 00:29:00.720
>> Right. And they have they also launched

00:29:00.720 --> 00:29:03.919
a cloud product called Terra Terracale

00:29:03.919 --> 00:29:06.320
or Teragrant scale. So they they

00:29:06.320 --> 00:29:08.559
launched a product uh basically to

00:29:08.559 --> 00:29:11.279
migrate you into and then orchestrate.

00:29:11.279 --> 00:29:14.159
>> Oh okay. So it's like a importing blah

00:29:14.159 --> 00:29:15.600
blah blah

00:29:15.600 --> 00:29:17.440
>> right. Okay. So so that was just an

00:29:17.440 --> 00:29:19.919
anecdote because I'm seeing on one site

00:29:19.919 --> 00:29:22.159
um Terra team constantly posting about

00:29:22.159 --> 00:29:24.559
don't break down your ter is not your

00:29:24.559 --> 00:29:26.240
problem. The problem is the tooling. And

00:29:26.240 --> 00:29:27.840
on the other side I have like grunt work

00:29:27.840 --> 00:29:29.520
sponsor saying we have workshops to help

00:29:29.520 --> 00:29:32.720
you break down the term.

00:29:32.720 --> 00:29:35.840
Yeah, I'm definitely in camp um state

00:29:35.840 --> 00:29:37.039
graph. Definitely.

00:29:37.039 --> 00:29:39.679
>> Right. Yeah. So, so they hit hacker news

00:29:39.679 --> 00:29:41.279
uh front page the moment they posted

00:29:41.279 --> 00:29:44.240
this and um they Yeah.

00:29:44.240 --> 00:29:45.679
>> Nine point. Oh, yeah.

00:29:45.679 --> 00:29:47.600
>> That one. Yeah. Like 13 days ago.

00:29:47.600 --> 00:29:49.600
>> That's quite respectable,

00:29:49.600 --> 00:29:52.799
>> right? And then they also got like the

00:29:52.799 --> 00:29:54.399
mailing like they they said they have

00:29:54.399 --> 00:29:56.240
hundreds of organizations interested.

00:29:56.240 --> 00:29:58.240
They're looking for design partners to

00:29:58.240 --> 00:30:01.440
to help build out what people want from

00:30:01.440 --> 00:30:03.600
a state graph and what it looks like.

00:30:03.600 --> 00:30:06.399
They're even hiring Okamel developers,

00:30:06.399 --> 00:30:09.600
but they won't train you. I try I asked

00:30:09.600 --> 00:30:11.120
they said no, we don't have time to

00:30:11.120 --> 00:30:13.200
train you. Um, so you must know Okamel

00:30:13.200 --> 00:30:15.039
and then um they're building this their

00:30:15.039 --> 00:30:17.279
launch date, their road map is for

00:30:17.279 --> 00:30:19.360
quarter 16.

00:30:19.360 --> 00:30:21.279
>> Atlantis is written in what? Python, I

00:30:21.279 --> 00:30:21.919
guess, or something.

00:30:21.919 --> 00:30:25.200
>> Golang, a massive Golang source code.

00:30:25.200 --> 00:30:27.279
Oh, nice.

00:30:27.279 --> 00:30:28.960
>> Quite complicated. I don't know about

00:30:28.960 --> 00:30:31.039
Golen for monolithic like

00:30:31.039 --> 00:30:32.720
>> it gets really complicated.

00:30:32.720 --> 00:30:34.399
>> It's not that comp. I love go.

00:30:34.399 --> 00:30:37.120
>> The problem with with Atlantis is that

00:30:37.120 --> 00:30:39.360
it's so ingrained into the pull request

00:30:39.360 --> 00:30:42.880
flow that everything is like based off

00:30:42.880 --> 00:30:44.399
the idea that it's coming from a pull

00:30:44.399 --> 00:30:46.399
request event which is horrible. Like

00:30:46.399 --> 00:30:48.080
for example, they try to add an API

00:30:48.080 --> 00:30:51.760
endpoint to run Terraform plans and it's

00:30:51.760 --> 00:30:53.679
really painful because it like oh you

00:30:53.679 --> 00:30:55.520
have a pull request, right? Where else

00:30:55.520 --> 00:30:57.360
are we going to run a plan on? Right.

00:30:57.360 --> 00:30:58.000
>> Yeah.

00:30:58.000 --> 00:30:59.760
>> So it's so

00:30:59.760 --> 00:31:04.080
>> okay. So but anyway, Atlantis is not

00:31:04.080 --> 00:31:07.279
um sorry my my head space is in this

00:31:07.279 --> 00:31:09.840
whole monolithic versus

00:31:09.840 --> 00:31:11.600
>> Atlantis doesn't really dictate how you

00:31:11.600 --> 00:31:14.080
organize your state. Yeah, you know has

00:31:14.080 --> 00:31:16.000
this auto discovery to to find your hash

00:31:16.000 --> 00:31:18.000
your terapform configuration files. You

00:31:18.000 --> 00:31:20.080
even have like integration with terror

00:31:20.080 --> 00:31:21.919
so that you can automatically like you

00:31:21.919 --> 00:31:23.679
can let terror actually run the

00:31:23.679 --> 00:31:26.000
terraform across your like repository

00:31:26.000 --> 00:31:28.159
and then you can Atlantis can hand off

00:31:28.159 --> 00:31:29.919
some of that. The most important part

00:31:29.919 --> 00:31:32.480
about Atlantis is basically locking pull

00:31:32.480 --> 00:31:34.960
requests posting plan into the

00:31:34.960 --> 00:31:39.279
>> requ. So um yeah so sorry I I'm just

00:31:39.279 --> 00:31:41.039
trying to track in my brain. We talked

00:31:41.039 --> 00:31:42.880
about Atlantis and Digger and now we're

00:31:42.880 --> 00:31:45.039
talking about Sterraph and Terror Grant.

00:31:45.039 --> 00:31:46.880
Well, is there some relationship?

00:31:46.880 --> 00:31:48.720
>> Yes, the relationship is that Digger was

00:31:48.720 --> 00:31:50.320
posting all these thoughts experiment on

00:31:50.320 --> 00:31:53.760
on on Reddit. Uh suddenly there's this

00:31:53.760 --> 00:31:55.760
announcement of state graph. I found it

00:31:55.760 --> 00:31:57.440
quite funny because you know the terror

00:31:57.440 --> 00:31:58.799
team is actually quite active on Reddit

00:31:58.799 --> 00:32:01.120
and I see them commenting on these posts

00:32:01.120 --> 00:32:03.039
and then I see them announcing state

00:32:03.039 --> 00:32:06.080
graph and I thought like like it's quite

00:32:06.080 --> 00:32:08.640
similar. Uh so so I talked to them and I

00:32:08.640 --> 00:32:11.039
was like that's interesting like I need

00:32:11.039 --> 00:32:12.880
something that I can query. So either

00:32:12.880 --> 00:32:14.640
it's it's the thing that digger is

00:32:14.640 --> 00:32:16.720
building or it's the thing that um the

00:32:16.720 --> 00:32:18.480
terror terror team is building whichever

00:32:18.480 --> 00:32:20.159
right I need to query the state I want

00:32:20.159 --> 00:32:22.960
to know I want to retrieve information

00:32:22.960 --> 00:32:24.640
>> so yeah it's about it's between digger

00:32:24.640 --> 00:32:26.320
and state graph for you okay

00:32:26.320 --> 00:32:29.519
>> right right so hashik happened uh the

00:32:29.519 --> 00:32:32.960
week last week hashik um is going to be

00:32:32.960 --> 00:32:34.480
by the end of the week at the start of

00:32:34.480 --> 00:32:36.000
the week they announces we have some big

00:32:36.000 --> 00:32:37.279
announcement this week we have a really

00:32:37.279 --> 00:32:38.799
big announcement this week

00:32:38.799 --> 00:32:40.720
>> infograph

00:32:40.720 --> 00:32:43.039
>> infograph is announced Hashikov which is

00:32:43.039 --> 00:32:45.200
very similar and again to the point of

00:32:45.200 --> 00:32:47.519
AI why do all of these people suddenly

00:32:47.519 --> 00:32:49.200
or all these organizations are suddenly

00:32:49.200 --> 00:32:50.720
so interested in building all of these

00:32:50.720 --> 00:32:52.720
massive state graphs and dependencies

00:32:52.720 --> 00:32:54.159
between states

00:32:54.159 --> 00:32:56.720
>> because AI can easily gro it properly.

00:32:56.720 --> 00:32:58.320
>> Exactly. Because if you want to build an

00:32:58.320 --> 00:33:00.799
NLM agent, every single organization

00:33:00.799 --> 00:33:02.320
right now is positioning themselves like

00:33:02.320 --> 00:33:04.240
we have the context. We've got all of

00:33:04.240 --> 00:33:05.279
the information about your

00:33:05.279 --> 00:33:08.000
infrastructure to for you to query.

00:33:08.000 --> 00:33:09.919
>> Context is king.

00:33:09.919 --> 00:33:13.200
>> Exactly. So, so on one side, Terra team

00:33:13.200 --> 00:33:15.519
announces state graph, perfect for

00:33:15.519 --> 00:33:17.679
building a context. Digger is like we're

00:33:17.679 --> 00:33:19.360
building the state manager because you

00:33:19.360 --> 00:33:21.120
need to be able, you know, we we need to

00:33:21.120 --> 00:33:22.720
be able to query, you know, keep track

00:33:22.720 --> 00:33:24.399
of dependencies, right? Yeah. We all

00:33:24.399 --> 00:33:25.919
want to keep track of dependencies, use

00:33:25.919 --> 00:33:28.720
our product, right? And and then the big

00:33:28.720 --> 00:33:30.640
announcement on Wednesday, I think a day

00:33:30.640 --> 00:33:33.679
before Hashikov, Digger opens uh this

00:33:33.679 --> 00:33:36.240
very aggressive video. If you go to

00:33:36.240 --> 00:33:38.240
digger.dev/opentaco, dev/open taco.

00:33:38.240 --> 00:33:40.720
That's basically where the project was

00:33:40.720 --> 00:33:43.120
an open taco.

00:33:43.120 --> 00:33:44.960
So, a couple of things I remember from

00:33:44.960 --> 00:33:46.960
that video.

00:33:46.960 --> 00:33:49.600
Um, basically they start with like this

00:33:49.600 --> 00:33:52.240
kind of like apocalyptic error messages

00:33:52.240 --> 00:33:54.799
like people are being held hostages,

00:33:54.799 --> 00:33:56.559
resource under management pricing is

00:33:56.559 --> 00:33:59.120
criminal. Um, you know, this is not an

00:33:59.120 --> 00:34:01.600
open standard. Um, and we have the

00:34:01.600 --> 00:34:04.240
solution. We are building the future of

00:34:04.240 --> 00:34:06.320
uh infrastructure as code. the open

00:34:06.320 --> 00:34:08.639
standard. You see the first line there

00:34:08.639 --> 00:34:11.520
introducing project open taco the open

00:34:11.520 --> 00:34:14.320
standard for terraform open automation

00:34:14.320 --> 00:34:16.560
right and then scroll down there's like

00:34:16.560 --> 00:34:19.040
this road map the pillars I think the

00:34:19.040 --> 00:34:20.480
pillars are are amazing the state

00:34:20.480 --> 00:34:21.839
manager is the first thing that we just

00:34:21.839 --> 00:34:23.760
talked about right then they said well

00:34:23.760 --> 00:34:25.359
you need a private registry for modules

00:34:25.359 --> 00:34:27.359
you need rolebased access control you

00:34:27.359 --> 00:34:28.800
need to define your dependencies between

00:34:28.800 --> 00:34:30.720
your stacks and you need to have uh

00:34:30.720 --> 00:34:32.639
insights right reality map to code and

00:34:32.639 --> 00:34:33.200
all that

00:34:33.200 --> 00:34:36.800
>> cool I I really like um sites that like

00:34:36.800 --> 00:34:39.200
advertise their principles or pillars or

00:34:39.200 --> 00:34:40.000
whatever.

00:34:40.000 --> 00:34:42.079
>> It's I think it's a it's a really nice

00:34:42.079 --> 00:34:43.839
idea. Um

00:34:43.839 --> 00:34:47.919
>> but the the response

00:34:47.919 --> 00:34:49.440
>> w

00:34:49.440 --> 00:34:51.919
even the negative responses can be

00:34:51.919 --> 00:34:53.359
capitalized on. Right.

00:34:53.359 --> 00:34:55.839
>> Okay. Well, okay. Let's look at what

00:34:55.839 --> 00:34:56.960
happened next. Right.

00:34:56.960 --> 00:35:18.640
>> What happened next?

00:35:18.640 --> 00:35:29.880
Heat. Heat.

00:35:29.880 --> 00:35:35.920
[Music]

00:35:35.920 --> 00:35:45.440
Heat. Hey, Heat.

00:35:45.440 --> 00:35:47.440
Heat. Heat.

00:35:47.440 --> 00:36:26.880
[Music]

00:36:26.880 --> 00:36:28.720
What happened next is they posted this

00:36:28.720 --> 00:36:31.200
on Reddit and

00:36:31.200 --> 00:36:33.920
and they posted on on on Hacker News. I

00:36:33.920 --> 00:36:35.119
think on Hackin News they had three

00:36:35.119 --> 00:36:37.359
uploads. I keep track of all the links

00:36:37.359 --> 00:36:40.320
and on Reddit there was an immediate uh

00:36:40.320 --> 00:36:42.560
you know very strong backlash from the

00:36:42.560 --> 00:36:45.839
community. Um there's a few Reddit

00:36:45.839 --> 00:36:48.160
accounts that were you know linked to

00:36:48.160 --> 00:36:51.200
organizations I me mentioned before

00:36:51.200 --> 00:36:53.359
>> and they were very critical. They were

00:36:53.359 --> 00:36:55.599
like why do you talk about an open

00:36:55.599 --> 00:36:56.880
standard like doesn't the standard

00:36:56.880 --> 00:36:58.400
involve communication and like

00:36:58.400 --> 00:37:00.480
contribution and a community like where

00:37:00.480 --> 00:37:02.720
is the discussion? where is the you know

00:37:02.720 --> 00:37:05.520
the RF the request for uh comments the

00:37:05.520 --> 00:37:07.119
RFC where is it you know the

00:37:07.119 --> 00:37:10.560
specification design um and why does it

00:37:10.560 --> 00:37:13.040
is it like declared as the open standard

00:37:13.040 --> 00:37:15.680
but is does it look like a product like

00:37:15.680 --> 00:37:18.000
there's a product road map even like how

00:37:18.000 --> 00:37:19.760
is this an open standard how can you

00:37:19.760 --> 00:37:21.119
declare to be the standard when you

00:37:21.119 --> 00:37:22.560
haven't like you know there's no

00:37:22.560 --> 00:37:25.280
community behind it right

00:37:25.280 --> 00:37:27.040
>> and I personally didn't really see that

00:37:27.040 --> 00:37:28.880
but like apparently that that resonated

00:37:28.880 --> 00:37:30.240
with a lot of people because that was

00:37:30.240 --> 00:37:32.560
pretty much like there weren't that many

00:37:32.560 --> 00:37:35.040
comments maybe 10 and like four out of

00:37:35.040 --> 00:37:38.720
them or maybe 50 50% I mean were like

00:37:38.720 --> 00:37:40.960
this is a product stop you know making

00:37:40.960 --> 00:37:43.040
it look like it's an open standard uh

00:37:43.040 --> 00:37:45.200
it's a product blah blah blah right so

00:37:45.200 --> 00:37:47.359
they open source the source code uh and

00:37:47.359 --> 00:37:48.480
one of the main things that's

00:37:48.480 --> 00:37:50.400
interesting is they completely integrate

00:37:50.400 --> 00:37:52.320
with the Terraform cloud uh back end so

00:37:52.320 --> 00:37:54.000
if you're familiar with Terraform as a

00:37:54.000 --> 00:37:57.040
back end you can use S3 you can use um

00:37:57.040 --> 00:37:59.359
Postgres you can use an HTTP remote

00:37:59.359 --> 00:38:02.000
backend or You can use Terapform cloud.

00:38:02.000 --> 00:38:03.839
So the Teraphform cloud back end is a

00:38:03.839 --> 00:38:05.920
very strict protocol that uses like

00:38:05.920 --> 00:38:07.599
authentication. So you use Terapform

00:38:07.599 --> 00:38:09.760
login when you run Terapform plan. You

00:38:09.760 --> 00:38:11.040
can even have it remote.

00:38:11.040 --> 00:38:12.400
>> So it uses the same back end.

00:38:12.400 --> 00:38:12.960
Interesting.

00:38:12.960 --> 00:38:15.200
>> And they implemented the Terapform cloud

00:38:15.200 --> 00:38:16.480
back end because it's like you know

00:38:16.480 --> 00:38:18.960
Terapform code is open source right

00:38:18.960 --> 00:38:21.359
source available. So people replicated

00:38:21.359 --> 00:38:22.800
all the API endpoints that Terapform

00:38:22.800 --> 00:38:24.400
uses and they implemented the back end

00:38:24.400 --> 00:38:26.160
of their own version. And that was like

00:38:26.160 --> 00:38:27.839
whoa cool. They use the whole Terraform

00:38:27.839 --> 00:38:29.119
back end. They have like SSO

00:38:29.119 --> 00:38:32.400
integration. quite small. So they

00:38:32.400 --> 00:38:33.520
>> and then yeah

00:38:33.520 --> 00:38:37.040
>> the creator of F or open terraform like

00:38:37.040 --> 00:38:39.119
cloud back end comes in and says

00:38:39.119 --> 00:38:41.280
>> okay guys I expect in this day and age

00:38:41.280 --> 00:38:43.359
you you know people copy code but you

00:38:43.359 --> 00:38:44.960
guys do it without like any attribution

00:38:44.960 --> 00:38:46.800
and you can't even be bothered to to

00:38:46.800 --> 00:38:48.640
change the comments like you literally

00:38:48.640 --> 00:38:51.520
copy the file from my project

00:38:51.520 --> 00:38:53.599
>> with the original comments right in it.

00:38:53.599 --> 00:38:56.240
>> What is the project name? F

00:38:56.240 --> 00:38:57.359
>> yeah.

00:38:57.359 --> 00:39:01.599
>> Ouch. Ouch. Indeed.

00:39:01.599 --> 00:39:05.040
Yeah. Leg zero uh leg 100f comes into

00:39:05.040 --> 00:39:06.400
the Reddit comment and says, "I'm the

00:39:06.400 --> 00:39:09.440
creator of F. You guys lifted my files.

00:39:09.440 --> 00:39:10.800
>> I didn't even know about I didn't even

00:39:10.800 --> 00:39:12.160
know about this project. This is

00:39:12.160 --> 00:39:13.359
interesting." Ah,

00:39:13.359 --> 00:39:15.119
>> I bring I bring receipts. I have links

00:39:15.119 --> 00:39:17.040
to all of these Reddit comments. I can

00:39:17.040 --> 00:39:17.520
share them.

00:39:17.520 --> 00:39:19.760
>> So, there was definitely some hot

00:39:19.760 --> 00:39:21.520
controversy.

00:39:21.520 --> 00:39:24.320
>> H Yeah. The funny thing is that most of

00:39:24.320 --> 00:39:28.079
the like harsh backlash

00:39:28.079 --> 00:39:29.680
um I can always link back to the same

00:39:29.680 --> 00:39:31.200
accounts.

00:39:31.200 --> 00:39:33.040
It's always like two accounts that are

00:39:33.040 --> 00:39:34.800
always going like you guys say you're no

00:39:34.800 --> 00:39:36.640
standard but this is a product code. You

00:39:36.640 --> 00:39:38.240
guys are breaking the trust of open

00:39:38.240 --> 00:39:39.599
source code.

00:39:39.599 --> 00:39:41.440
>> You hinted about it earlier but like on

00:39:41.440 --> 00:39:43.359
Reddit um I mean I have one account on

00:39:43.359 --> 00:39:44.720
Reddit and I stick to that one account

00:39:44.720 --> 00:39:46.480
but I know loads of people that have at

00:39:46.480 --> 00:39:48.480
least two or three accounts on Reddit.

00:39:48.480 --> 00:39:50.400
two people going at it from four

00:39:50.400 --> 00:39:51.920
accounts

00:39:51.920 --> 00:39:53.599
>> and the and the moderator because what

00:39:53.599 --> 00:39:54.800
happened to the post the big

00:39:54.800 --> 00:39:57.280
announcement of open taco it got deleted

00:39:57.280 --> 00:40:00.160
got removed I'm very curious now like

00:40:00.160 --> 00:40:03.520
why unless like I'm very oblivious

00:40:03.520 --> 00:40:05.520
>> unless I'm really oblivious and and I

00:40:05.520 --> 00:40:07.280
really don't see that much as a really

00:40:07.280 --> 00:40:09.440
bad like situation I look at this from

00:40:09.440 --> 00:40:11.440
like docker point of view right docker

00:40:11.440 --> 00:40:13.200
came in they built contain Linux

00:40:13.200 --> 00:40:14.880
containers they built a whole tool

00:40:14.880 --> 00:40:17.040
framework around it and then OCI was

00:40:17.040 --> 00:40:18.640
created open container their initiative

00:40:18.640 --> 00:40:21.280
they created the standard. So for me

00:40:21.280 --> 00:40:23.200
like if you look at open taco it's a

00:40:23.200 --> 00:40:25.680
product and you can like create a

00:40:25.680 --> 00:40:27.440
standard out of a product like docker

00:40:27.440 --> 00:40:29.599
did right and being so aggressive and

00:40:29.599 --> 00:40:31.599
saying you but okay I understand that

00:40:31.599 --> 00:40:33.520
there is first of the message like the

00:40:33.520 --> 00:40:36.160
YouTube was very aggressive then second

00:40:36.160 --> 00:40:38.960
the um you know declaring they are the

00:40:38.960 --> 00:40:41.839
open standard that clearly like upset a

00:40:41.839 --> 00:40:44.000
lot of people right then obviously the

00:40:44.000 --> 00:40:47.920
massive failure of having this um you

00:40:47.920 --> 00:40:50.240
know code that happened So what was the

00:40:50.240 --> 00:40:53.040
response of um of of Digger to this uh

00:40:53.040 --> 00:40:55.520
backlash and the post being removed?

00:40:55.520 --> 00:40:57.920
>> A apology, right? So they did an apology

00:40:57.920 --> 00:40:58.640
post

00:40:58.640 --> 00:40:59.280
>> where

00:40:59.280 --> 00:40:59.920
>> um

00:40:59.920 --> 00:41:01.920
>> Oh, let me

00:41:01.920 --> 00:41:03.040
>> Oh,

00:41:03.040 --> 00:41:06.400
>> postmorton open taco using code from

00:41:06.400 --> 00:41:08.560
without attribution. This is the chain

00:41:08.560 --> 00:41:10.640
of events.

00:41:10.640 --> 00:41:14.319
>> This is how it happened. We we we did a

00:41:14.319 --> 00:41:16.720
stub five Y's

00:41:16.720 --> 00:41:19.760
um and they post it. So I I want to hear

00:41:19.760 --> 00:41:21.599
your opinion about what you feel about

00:41:21.599 --> 00:41:23.200
this this this um

00:41:23.200 --> 00:41:25.440
>> so why did the the code was moved from

00:41:25.440 --> 00:41:27.760
as is from an internal

00:41:27.760 --> 00:41:29.920
okay that doesn't really excuse anything

00:41:29.920 --> 00:41:30.319
why

00:41:30.319 --> 00:41:31.760
>> and they open source the internal to

00:41:31.760 --> 00:41:33.760
full to show the full commit history of

00:41:33.760 --> 00:41:35.359
how that was built when it was built who

00:41:35.359 --> 00:41:37.680
was doing the PRs and all that

00:41:37.680 --> 00:41:44.319
>> it still doesn't explain yeah

00:41:44.319 --> 00:41:46.000
because I'm curious how you would feel

00:41:46.000 --> 00:41:48.160
about this because the the response was

00:41:48.160 --> 00:41:56.400
also Interesting.

00:41:56.400 --> 00:41:59.920
Well, I mean,

00:41:59.920 --> 00:42:02.720
I'm Is it Is it called Akams Akum's

00:42:02.720 --> 00:42:05.839
razor? You know, don't attribute malice

00:42:05.839 --> 00:42:09.520
to what could be excused as, you know,

00:42:09.520 --> 00:42:11.520
incompetence.

00:42:11.520 --> 00:42:14.960
Is that is that the right phrase? um

00:42:14.960 --> 00:42:17.200
razor is is more about like if if

00:42:17.200 --> 00:42:18.560
something if there's a simpler

00:42:18.560 --> 00:42:20.319
explanation then that's the right

00:42:20.319 --> 00:42:22.560
explanation but don't attribute malice

00:42:22.560 --> 00:42:24.400
to what could be attributed to like

00:42:24.400 --> 00:42:27.839
stupidity or or incompetence that's uh

00:42:27.839 --> 00:42:30.160
that's some I don't know exactly what

00:42:30.160 --> 00:42:32.880
>> okay something else but um I I would

00:42:32.880 --> 00:42:34.720
probably go on the more positive side of

00:42:34.720 --> 00:42:39.280
things because because uh you know like

00:42:39.280 --> 00:42:40.720
when you're in a hurry and they're

00:42:40.720 --> 00:42:43.599
ripping code from there I mean it could

00:42:43.599 --> 00:42:45.440
This is even more the case with AI

00:42:45.440 --> 00:42:47.680
nowadays. Like it wouldn't be surprised

00:42:47.680 --> 00:42:50.000
me if you're writing some code with AI

00:42:50.000 --> 00:42:52.240
and it just steals some code from some

00:42:52.240 --> 00:42:54.960
code base on GitHub and then and then

00:42:54.960 --> 00:42:58.160
you're taking flak because like uh you

00:42:58.160 --> 00:43:01.040
have a comment from another GitHub repo

00:43:01.040 --> 00:43:03.680
and I'll be like, "Oh shit." It sounds

00:43:03.680 --> 00:43:05.359
like they've fixed this issue, I'm

00:43:05.359 --> 00:43:07.760
guessing. So

00:43:07.760 --> 00:43:10.400
I I mean it's it's a mistake. It's a

00:43:10.400 --> 00:43:13.599
balls up, but I wouldn't uh I would move

00:43:13.599 --> 00:43:17.760
on from it. That's my initial feeling.

00:43:17.760 --> 00:43:20.720
>> Right. The response was this is just

00:43:20.720 --> 00:43:23.359
another product marketing, not really an

00:43:23.359 --> 00:43:26.800
apology. Half of your apology talks

00:43:26.800 --> 00:43:28.160
about the product or something like

00:43:28.160 --> 00:43:29.680
that. Like I'm trying to find the

00:43:29.680 --> 00:43:32.079
thread. Yes. And you can guess who was

00:43:32.079 --> 00:43:34.720
putting those comments. The same people.

00:43:34.720 --> 00:43:36.079
>> So this is where we are. I mean, how

00:43:36.079 --> 00:43:38.160
long ago was this? 26th of September.

00:43:38.160 --> 00:43:40.319
>> That was Saturday. Yeah. Okay. That's

00:43:40.319 --> 00:43:43.040
This is hot hot hot

00:43:43.040 --> 00:43:45.839
steaming gossip

00:43:45.839 --> 00:43:48.720
tea. I've been like I've been having a

00:43:48.720 --> 00:43:49.920
ball this weekend, you know? I was

00:43:49.920 --> 00:43:51.520
literally eating popcorn like what's

00:43:51.520 --> 00:43:53.920
going to happen next?

00:43:53.920 --> 00:43:57.040
Whoa, this happened. Like um I honestly

00:43:57.040 --> 00:44:00.240
like my personal opinion.

00:44:00.240 --> 00:44:04.480
I mean, I don't really think it's fair

00:44:04.480 --> 00:44:07.839
the the way that it's being um responded

00:44:07.839 --> 00:44:10.640
to. Maybe I'm biased because I really

00:44:10.640 --> 00:44:13.680
want something like this to exist. And

00:44:13.680 --> 00:44:17.200
um yeah, I know of course

00:44:17.200 --> 00:44:20.240
the the main like post the main the main

00:44:20.240 --> 00:44:22.319
complaint of of the people complaining

00:44:22.319 --> 00:44:24.960
was like, you know, trust in open source

00:44:24.960 --> 00:44:27.119
has been eroded constantly. Projects are

00:44:27.119 --> 00:44:30.800
relicensing. Um you know people are very

00:44:30.800 --> 00:44:34.000
reluctant to to adopt a project now and

00:44:34.000 --> 00:44:35.920
we need to build trust and trust is

00:44:35.920 --> 00:44:38.160
earned by doing things right and

00:44:38.160 --> 00:44:40.400
stealing code and you know relicensing

00:44:40.400 --> 00:44:43.359
it because is a modilla public license

00:44:43.359 --> 00:44:46.319
and digger and therefore the open taco

00:44:46.319 --> 00:44:48.160
code as well is actually Apache 2

00:44:48.160 --> 00:44:50.400
license so you can't rely it there's no

00:44:50.400 --> 00:44:53.119
attribution so there's like so many nos

00:44:53.119 --> 00:44:55.119
in this in this action like this

00:44:55.119 --> 00:44:56.800
completely destroys trust this is

00:44:56.800 --> 00:44:59.839
unacceptable So, so wait a minute.

00:44:59.839 --> 00:45:02.640
>> Uh, Vincent, their repo was open source

00:45:02.640 --> 00:45:04.000
too, right?

00:45:04.000 --> 00:45:07.200
>> No. So, they Well, yes, they they moved

00:45:07.200 --> 00:45:09.920
the they moved the open taco into their

00:45:09.920 --> 00:45:12.560
main repository. Um, which is a massive

00:45:12.560 --> 00:45:15.599
Golang monor repo. So, if you go to

00:45:15.599 --> 00:45:17.599
digger. So, the actual

00:45:17.599 --> 00:45:18.240
>> where is the

00:45:18.240 --> 00:45:20.000
>> this is the open taco.

00:45:20.000 --> 00:45:21.760
>> So, this is where they stole the co the

00:45:21.760 --> 00:45:22.640
code, right? that they

00:45:22.640 --> 00:45:24.240
>> this is the this is the internal one

00:45:24.240 --> 00:45:26.160
that did they did some quick PC on the

00:45:26.160 --> 00:45:28.240
internal code and then they copied all

00:45:28.240 --> 00:45:31.040
of that into their main digger

00:45:31.040 --> 00:45:32.880
repository. So this is the open taco

00:45:32.880 --> 00:45:34.000
that was private

00:45:34.000 --> 00:45:37.440
>> and then there's if uh there was it

00:45:37.440 --> 00:45:38.880
wasn't into their internal if you go

00:45:38.880 --> 00:45:40.160
back to their profile and you go to

00:45:40.160 --> 00:45:42.000
their main monor repo the main one

00:45:42.000 --> 00:45:43.520
there. So there you have the license

00:45:43.520 --> 00:45:44.720
zone I guess

00:45:44.720 --> 00:45:46.560
>> which is Apache 2.

00:45:46.560 --> 00:45:47.599
>> Oh it's MIT.

00:45:47.599 --> 00:45:50.000
>> Oh it's better even.

00:45:50.000 --> 00:45:52.400
Um,

00:45:52.400 --> 00:45:54.480
okay. Well, thanks for the gossip. I

00:45:54.480 --> 00:45:58.720
think I got a a taste of uh the what do

00:45:58.720 --> 00:46:02.400
you call it? The digestion system of

00:46:02.400 --> 00:46:04.319
Terraform or something. You know, what's

00:46:04.319 --> 00:46:06.160
going around and what's going to come

00:46:06.160 --> 00:46:06.880
out. And

00:46:06.880 --> 00:46:09.599
>> I I I like some of the like first off, I

00:46:09.599 --> 00:46:11.200
think the name is the name is very funny

00:46:11.200 --> 00:46:12.880
because you know, you have open tofu,

00:46:12.880 --> 00:46:14.640
you have the concept of tacos and then

00:46:14.640 --> 00:46:16.880
open taco kind of plays on that open to.

00:46:16.880 --> 00:46:20.079
>> So So who coined tacos then? What's the

00:46:20.079 --> 00:46:23.119
>> tacos is a known way of describing

00:46:23.119 --> 00:46:24.800
Terraform automation and collaboration

00:46:24.800 --> 00:46:27.520
software? Tacos has been around for like

00:46:27.520 --> 00:46:28.079
two.

00:46:28.079 --> 00:46:31.599
>> So like if I search for like tacos

00:46:31.599 --> 00:46:35.359
site hashp.com

00:46:35.359 --> 00:46:36.000
do they

00:46:36.000 --> 00:46:38.240
>> sure

00:46:38.240 --> 00:46:40.720
don't think they call it tacos but space

00:46:40.720 --> 00:46:42.240
lift zero and so on. If you search for

00:46:42.240 --> 00:46:44.319
like terome automation, then you're

00:46:44.319 --> 00:46:46.240
going to find a lot of like websites

00:46:46.240 --> 00:46:49.920
that refer to that as tacos,

00:46:49.920 --> 00:46:52.480
>> right? Taco provider like Spaceelift.

00:46:52.480 --> 00:46:54.160
Yeah. So, they do have it on but it's on

00:46:54.160 --> 00:46:55.359
the discussion. It's on their forum.

00:46:55.359 --> 00:46:55.839
It's not

00:46:55.839 --> 00:46:57.200
>> interesting. Interesting.

00:46:57.200 --> 00:46:57.680
>> Yeah.

00:46:57.680 --> 00:46:58.880
>> Well, anyway, that that was a really

00:46:58.880 --> 00:47:01.280
good conversation. I think I I need to

00:47:01.280 --> 00:47:05.119
um transition into work. Uh, I got stuff

00:47:05.119 --> 00:47:06.880
to

00:47:06.880 --> 00:47:10.800
to uh cards cards to move into different

00:47:10.800 --> 00:47:12.480
lanes and stuff like that.

00:47:12.480 --> 00:47:14.960
>> So, anyway, if anyone is watching this

00:47:14.960 --> 00:47:17.920
to this far, I congratulate you. Okay.

00:47:17.920 --> 00:47:20.319
All the best, Vincent. Let's catch up.

00:47:20.319 --> 00:47:22.000
>> Some links if you want to add it in some

00:47:22.000 --> 00:47:22.400
links.

00:47:22.400 --> 00:47:25.200
>> Yeah, context is king. Context is king.

00:47:25.200 --> 00:47:27.359
>> Yeah, but it's more to discuss. We

00:47:27.359 --> 00:47:28.800
definitely have to do another session.

00:47:28.800 --> 00:47:30.160
>> Yeah, we definitely have to do another

00:47:30.160 --> 00:47:32.640
session. Okay, great. See you, man.

00:47:32.640 --> 00:47:35.280
>> Okay. All right.

