Skip to content

Commit

Permalink
Remove ssh_private_key output from common
Browse files Browse the repository at this point in the history
  • Loading branch information
cmd-ntrf committed Jul 22, 2024
1 parent 8c699b8 commit 74c8f08
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion common/configuration/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ output "inventory" {

output "ssh_key" {
value = {
public = try("${chomp(tls_private_key.ssh.public_key_openssh)} terraform@localhost", null)
public = try("${chomp(tls_private_key.ssh.public_key_openssh)} tf@localhost", null)
private = try(tls_private_key.ssh.private_key_pem, null)
}
}
Expand Down
5 changes: 0 additions & 5 deletions common/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,3 @@ output "accounts" {
}
}
}

output "ssh_private_key" {
value = module.configuration.ssh_key.private
sensitive = true
}

0 comments on commit 74c8f08

Please sign in to comment.