outputs.tf (639B)
1 output "inventory" { 2 value = templatefile("${path.module}/templates/inventory.tpl", { hosts = local.all_hosts }) 3 } 4 5 output "qemu_config" { 6 value = templatefile("${path.module}/templates/qemu-config.yml.tpl", { hosts = local.all_hosts }) 7 } 8 9 output "ssh_private_key" { 10 value = tls_private_key.id_rsa.private_key_pem 11 sensitive = true 12 } 13 14 output "ssh_private_keyfile" { 15 value = local_sensitive_file.ssh_private_key.filename 16 } 17 18 output "ssh_public_key" { 19 value = tls_private_key.id_rsa.public_key_openssh 20 sensitive = true 21 } 22 23 output "ssh_public_keyfile" { 24 value = local_sensitive_file.ssh_public_key.filename 25 }