From fb3c7dc61c130fee625c2350f583d6f067d7dcf3 Mon Sep 17 00:00:00 2001 From: Serveladus Date: Sun, 22 Sep 2024 21:52:43 +0300 Subject: [PATCH] SolutionFINAL --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 89821d8..6e30fe1 100644 --- a/main.tf +++ b/main.tf @@ -69,7 +69,7 @@ resource "null_resource" "clone_git_repo" { connection { type = "ssh" user = "azureuser" - private_key = file(var.ssh_key_private) + private_key = file(var.ssh_key_public) host = module.network.public_ip_address } }