13 lines
327 B
Plaintext
13 lines
327 B
Plaintext
#This file must be renamed as 'ssh-key-ref-outputs.tf'
|
|
#replace the placeholders {YOUR_PRIVATE_KEYNAME} (without .pub) and {YOUR_KEYNAME} with proper values
|
|
|
|
output "ssh_key_file" {
|
|
value = "~/.ssh/{YOUR_PRIVATE_KEYNAME}"
|
|
sensitive = true
|
|
}
|
|
|
|
output "ssh_key_name" {
|
|
value = "{YOUR_KEYNAME}"
|
|
sensitive = false
|
|
}
|