Skip to content

Commit

Permalink
Merge pull request #4 from achetronic/fix-storage-file
Browse files Browse the repository at this point in the history
Fix the path to read the content of external SSH keys
  • Loading branch information
achetronic authored Nov 14, 2021
2 parents 089dd5a + db63af1 commit ec263c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/workload/storage.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ec263c3

Please sign in to comment.