mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
Add the path to the ssh key to connect to the cluster's instances as an output (#24969)
* fix: add the ssh key pem path to te outputs and fix the message with the correct path * func: add ssh pem key as output
This commit is contained in:
committed by
GitHub
parent
c8d7e741c8
commit
1b1ad896ec
@@ -81,6 +81,10 @@ output "key_file" {
|
||||
value = "${abspath(local.keys_dir)}/tls_api_client.key"
|
||||
}
|
||||
|
||||
output "ssh_key_file" {
|
||||
value = "${abspath(local.keys_dir)}/${local.random_name}.pem"
|
||||
}
|
||||
|
||||
output "nomad_token" {
|
||||
value = "${data.local_sensitive_file.nomad_token.content}"
|
||||
sensitive = true
|
||||
|
||||
Reference in New Issue
Block a user