Skip to content

Commit

Permalink
Fix the path to read the content of external SSH keys
Browse files Browse the repository at this point in the history
  • Loading branch information
achetronic committed Nov 14, 2021
1 parent 089dd5a commit db63af1
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 db63af1

Please sign in to comment.