To go ahead and delete a resource we run terrible destroy and just like apply is going to go ahead and
run terraformed plan.
This is to confirm we 100 percent wants to delete it.
But what might be happening, especially when you're working with a bigger project, you might have
some resources you're adding and some but you're deleting.
So you want to make sure you're not deleting absolutely everything, only the bits you specifically
want removed.
And whereas before it was green, now it's read a lot of these values that had to be computed.
We can now see here TerraForm has pulled in the details for us and these will be stored inside astate
file if we're happy to go ahead and delete it.
Tiepin Yes.
And it's going to take a couple of moments.
And there we go.
We can see one destroyed.
Now, if we go back over to the console refresh and then we go, we can see that the PC has been deleted.
And there you go.
You've seen the terrible lifecycle.
We initialize the folder.
We plan and check to see what we're going to create.
We then apply to create a resource.
And then when we're done with it, we run, terraformed, destroy to delete it.
That wraps up this video.
I look forward to seeing you in the next one.