2023-12-01 17:49:38 +01:00
|
|
|
#This file must be renamed as 'ssh-key-ref-outputs.tf'
|
2023-12-04 16:00:02 +01:00
|
|
|
#replace the placeholders {YOUR_PRIVATE_KEYNAME} (without .pub) and {YOUR_KEYNAME} with proper values
|
2023-12-01 17:49:38 +01:00
|
|
|
|
|
|
|
output "ssh_key_file" {
|
|
|
|
value = "~/.ssh/{YOUR_PRIVATE_KEYNAME}"
|
|
|
|
sensitive = true
|
|
|
|
}
|
|
|
|
|
|
|
|
output "ssh_key_name" {
|
|
|
|
value = "{YOUR_KEYNAME}"
|
|
|
|
sensitive = false
|
|
|
|
}
|