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:
Juana De La Cuesta
2025-01-28 18:25:02 +01:00
committed by GitHub
parent c8d7e741c8
commit 1b1ad896ec

View File

@@ -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