From fbed65d56cbaaffdb16cf625ca069ea9f6e62a8a Mon Sep 17 00:00:00 2001 From: jawabuu <49921621+jawabuu@users.noreply.github.com> Date: Wed, 19 May 2021 11:16:12 +0300 Subject: [PATCH] update packet ssh connection --- provider/packet/main.tf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/provider/packet/main.tf b/provider/packet/main.tf index 8ec8003..7cfb692 100644 --- a/provider/packet/main.tf +++ b/provider/packet/main.tf @@ -73,10 +73,10 @@ resource "packet_device" "host" { ssh_keys = [packet_project_ssh_key.tf-kube.id] connection { - user = "root" - type = "ssh" - timeout = "2m" - host = self.access_public_ipv4 + user = "root" + type = "ssh" + timeout = "2m" + host = self.access_public_ipv4 private_key = file("${var.ssh_key_path}") }