Skip to content

Commit ef8477f

Browse files
committed
update top-level files
1 parent e86fa7a commit ef8477f

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

exercises/outputs.tf.completed

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ output "catapp_url" {
44
}
55

66
output "catapp_ip" {
7-
value = aws_eip.hashicat.public_ip
7+
value = "http://${aws_eip.hashicat.public_ip}"
88
}

main.tf

+2
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,8 @@ resource "null_resource" "configure-cat-app" {
168168
"sudo chown -R ubuntu:ubuntu /var/www/html",
169169
"chmod +x *.sh",
170170
"PLACEHOLDER=${var.placeholder} WIDTH=${var.width} HEIGHT=${var.height} PREFIX=${var.prefix} ./deploy_app.sh",
171+
"sudo apt -y install cowsay",
172+
"cowsay Mooooooooooo!",
171173
]
172174

173175
connection {

outputs.tf

+4
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,7 @@
22
output "catapp_url" {
33
value = "http://${aws_eip.hashicat.public_dns}"
44
}
5+
6+
output "catapp_ip" {
7+
value = "http://${aws_eip.hashicat.public_ip}"
8+
}

0 commit comments

Comments
 (0)