Skip to content

Commit

Permalink
Define outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
iganbold committed Sep 27, 2020
1 parent fa3deff commit 99623ff
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
output "ssh_private_key" {
value = tls_private_key.this.private_key_pem
}

output "ssh_ec2_kali_linux_connect" {
value = "ssh -i kali.pem -o IdentitiesOnly=yes kali@${aws_instance.this.public_ip}"
}

0 comments on commit 99623ff

Please sign in to comment.