From db63af1dc52a179d0d1b507c32c9c35810240f2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alby=20Hern=C3=A1ndez?= Date: Sun, 14 Nov 2021 23:12:40 +0000 Subject: [PATCH] Fix the path to read the content of external SSH keys --- modules/workload/storage.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/workload/storage.tf b/modules/workload/storage.tf index c4f21b8..1d713df 100644 --- a/modules/workload/storage.tf +++ b/modules/workload/storage.tf @@ -49,7 +49,7 @@ locals { # List of SSH keys allowed on instances instances_external_ssh_keys = [ for i, v in fileset("${path.root}/files/input/external-ssh-keys", "*.pub") : - trimspace(file("${path.module}/${v}")) + trimspace(file("${path.root}/files/input/external-ssh-keys/${v}")) ] # Parsed user-data config file for Cloud Init