Skip to content

Commit 906eed4

Browse files
committed
README and screenshot changes
1 parent 414bfab commit 906eed4

File tree

3 files changed

+4
-23
lines changed

3 files changed

+4
-23
lines changed

lab02/README.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ Edit the [main.tf](main.tf) file in GitHub repo to add another instance of the `
174174
### Step 5.1
175175

176176
- Navigate to `main.tf`. Find the pencil icon. Click to edit this file directly in the browser.
177-
- Note: Although we are using the GitHub UI to edit this file, you may choose to edit `main.tf` locally and use the Git CLI to push to a new branch.
177+
- Note: Although we are using the GitHub UI to edit this file, you may choose to edit `main.tf` locally and use the Git CLI to push to a new branch.
178178

179179
![TFE](images/tfe-basics/lab02-09.png "TFE")
180180

@@ -216,17 +216,11 @@ output "public_dns_us_east_2" {
216216

217217
- Back at Terraform Enterprise, find the "Current Run" tab. Click it and you’ll see the merge commit has triggered a plan and it needs confirmation.
218218

219-
- Scroll to the bottom of the run and confirm the `plan`. At the bottom of the page you’ll see a place to comment (optional) and click "Confirm & Apply."
220-
221-
![TFE](images/tfe-basics/14.png "TFE")
222-
223-
- This will queue a `terraform apply`.
224-
225-
Examine the output of `apply` and find the IP address of the new instance. The output looks like what you’ve previously seen in the terminal. Copy the `public_ip` address and paste it into your browser. You'll see the running web application.
226-
227-
![TFE](images/tfe-basics/15.png "TFE")
219+
- Scroll to the bottom of the run and confirm the `plan`. At the bottom of the page you’ll see a place to comment (optional) and click **"Confirm & Apply."** This will queue a `terraform apply`.
228220

221+
Examine the output of `apply` and find the DNS address of the new instance. The output looks like what you’ve previously seen in the terminal. Copy the `public_dns_us_east_2` address and paste it into your browser. You'll see the running web application.
229222

223+
![TFE](images/tfe-basics/lab02-15.png "TFE")
230224

231225
## Task 6: Destroy
232226

lab02/images/tfe-basics/lab02-15.png

115 KB
Loading

lab02/main.tf

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,3 @@ module "server" {
66
ami = "${lookup(var.ami, var.region)}"
77
ingress_cidr = "${var.ingress_cidr}"
88
}
9-
10-
module "server-us-east-2" {
11-
source = "./server"
12-
region = "us-east-2"
13-
num_webs = "${var.num_webs}"
14-
identity = "${var.identity}"
15-
ami = "${lookup(var.ami, "us-east-2")}"
16-
ingress_cidr = "${var.ingress_cidr}"
17-
}
18-
19-
output "public_dns_us_east_2" {
20-
value = "${module.server-us-east-2.public_dns}"
21-
}

0 commit comments

Comments
 (0)