Okay, now let me shape how we use our variables.
So I'm going to do is go back over to our first resource.
We set up.
And copy the VPC.
Well, I've also done is gone ahead and set a provider, so but we can use the eight of us, API and
certain regions, EU waste too.
Again, this might be something you set as a variable on the off chance.
You need to change it at some point.
Now, let's go ahead and add something to this.
We're going to set the name of the VPC.
So three, that we use tax equal to curly brackets and name equal to.
And this is what you want to use as a variable.
So let's stop string's use a string.
We use Bar, Dot and the name.
So at the top it's called VPC name.
And say that you may be wondering if you're coming from terrible zero points eleven, maybe wondering
why we didn't do this.
This is called string interpellation, and what string interpellation does is it's a fancy term for
replace the value inside.
In this case, when we run terraformed plan, this will replace volatile VPC name with the VPC name
we set in a variable in terraformed zero point twelve string interpolation is no longer needed.
So this is perfectly valid and it's the same here for booleans and numbers, but it is different with
lists and maps.
So let's see those next.