From 965cde2f13562624a6dacb67663cf0708f4dbd9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix-Antoine=20Fortin?= Date: Thu, 18 Jul 2024 16:31:01 -0400 Subject: [PATCH] Fix --- common/configuration/main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/configuration/main.tf b/common/configuration/main.tf index d9040032..e159263b 100644 --- a/common/configuration/main.tf +++ b/common/configuration/main.tf @@ -152,8 +152,8 @@ output "inventory" { output "ssh_key" { value = { - public = try("${chomp(tls_private_key.ssh[0].public_key_openssh)} terraform@localhost", null) - private = try(tls_private_key.ssh[0].private_key_pem, null) + public = try("${chomp(tls_private_key.ssh.public_key_openssh)} terraform@localhost", null) + private = try(tls_private_key.ssh.private_key_pem, null) } }