File tree 3 files changed +7
-1
lines changed
3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -4,5 +4,5 @@ output "catapp_url" {
4
4
}
5
5
6
6
output "catapp_ip" {
7
- value = aws_eip.hashicat.public_ip
7
+ value = "http://${ aws_eip.hashicat.public_ip}"
8
8
}
Original file line number Diff line number Diff line change @@ -168,6 +168,8 @@ resource "null_resource" "configure-cat-app" {
168
168
" sudo chown -R ubuntu:ubuntu /var/www/html" ,
169
169
" chmod +x *.sh" ,
170
170
" PLACEHOLDER=${ var . placeholder } WIDTH=${ var . width } HEIGHT=${ var . height } PREFIX=${ var . prefix } ./deploy_app.sh" ,
171
+ " sudo apt -y install cowsay" ,
172
+ " cowsay Mooooooooooo!" ,
171
173
]
172
174
173
175
connection {
Original file line number Diff line number Diff line change 2
2
output "catapp_url" {
3
3
value = " http://${ aws_eip . hashicat . public_dns } "
4
4
}
5
+
6
+ output "catapp_ip" {
7
+ value = " http://${ aws_eip . hashicat . public_ip } "
8
+ }
You can’t perform that action at this time.
0 commit comments