Skip to content

Commit

Permalink
update top-level files
Browse files Browse the repository at this point in the history
  • Loading branch information
rberlind committed Oct 15, 2020
1 parent e86fa7a commit ef8477f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/outputs.tf.completed
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ output "catapp_url" {
}

output "catapp_ip" {
value = aws_eip.hashicat.public_ip
value = "http://${aws_eip.hashicat.public_ip}"
}
2 changes: 2 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ resource "null_resource" "configure-cat-app" {
"sudo chown -R ubuntu:ubuntu /var/www/html",
"chmod +x *.sh",
"PLACEHOLDER=${var.placeholder} WIDTH=${var.width} HEIGHT=${var.height} PREFIX=${var.prefix} ./deploy_app.sh",
"sudo apt -y install cowsay",
"cowsay Mooooooooooo!",
]

connection {
Expand Down
4 changes: 4 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@
output "catapp_url" {
value = "http://${aws_eip.hashicat.public_dns}"
}

output "catapp_ip" {
value = "http://${aws_eip.hashicat.public_ip}"
}

0 comments on commit ef8477f

Please sign in to comment.