Time
2 hours 48 minutes
Difficulty
Intermediate
CEU/CPE
3

Video Transcription

00:01
okay, that didn't take too long.
00:04
So moving back to our azar and looking at the different resource groups that we have a new resource group was just created. It's called customer one.
00:15
Sure enough, if we drill into the resource group, we can see that a virtual network called East US Dash V. Net was created.
00:24
Additionally, looking at the out output of the actual terra form process itself. If we go terra form
00:35
show, we'll see here that it's reiterating some of the details, the idea of the resource group and all sorts of things on. And last but not least, you'll see there's outputs because you'll recall we talked about several different kinds of variables. Output being another one, and it's
00:55
the values are as we would expect. And as we saw,
00:58
there's the resource I d. The Resource Group I D as well as the Virtual Net name. And that name, if you recall, was dynamically constructed based on the location and then a pending a dash V net to the name
01:15
so that pretty much covers
01:19
all different types of variables and cross references. As a quick recap, we talked about var and defining those in variables. We talked about different types of variables. We talked about referencing other resource entities between the different
01:36
entities. So in this case, we're saying location to be
01:40
the same as the location for the resource group here.
01:42
Ah. And then finally, we talked about defining local bars, which are calculated values. And of course, we spoke about the process for overriding the values of these different input variables using a T F bars file
02:01
or an environment
02:04
variable file. Before we close out this
02:07
this session, I want to clean up some of the work after myself. So I'm gonna run terra form, destroy
02:15
Command, and I'm also gonna make sure to bring with it the VAR file name.
02:21
And what this is gonna do is it's just gonna make sure that I don't have a virtual network resource sitting there and as er because we just created, for example, Stapes. And sure enough, you can see here to reform saying, Okay, here's what I'm gonna do. I'm gonna stray the resource group. I'm gonna destroy the virtual network. I'm going to say yes.
02:40
Just so we're not making too much of a mess
02:44
in our
02:45
exurbs subscription behind us as we go through these activities.
02:50
So thank you for that. Now you have a clean workspace. I look forward to seeing you in the next module.

Up Next

Fundamentals of Terraform

In this Terraform training course, students will learn the basics of the tool through hands-on labs, become comfortable with its core language features, learn how Terraform fits into the cloud tooling landscape.

Instructed By

Instructor Profile Image
James Leone
Cloud, IoT & DevSecOps at Abbott
Instructor