So now we've successfully run several minutes, the next come on, we want to run is terrible plan.
And what you see there is he's checking the state and I'm going to cover this in its own video, but
state is really important.
That tells Terryville what it's already created and what it needs to create.
And you're in a world of pain if you lose that file.
But don't worry later on, because I'm going to show you a way that you can keep your state file safe
and secure.
What was stateful is useful.
There is to check.
We've actually gone ahead and created this VPC and part of the reason I've given it a name is that it
can check inside the state file and compare the code and it will look for any differences, as we can
see here, because we haven't created it.
We can see everything.
Ingrey, if we were to delete it, we would see it in red.
Now, you may be wondering here, what's this known after reply?
Well, that's the next come on, we're going to run because at the moment these are computed values.
And if you check the documentation, you'll see that Massada block is a required field, but there's
a whole load of optional ones that don't need to be set, and that is what those known after apply fields
are.
So here we have the hÉireann or the Amazon resource name because that's generated and random.
We don't know what it is and we can't set it.
But when we go ahead and create a VPC terraform, we'll find out what that value is and it will set
it for us.
So next, let's go ahead and create our resource.