From 035d74ff1aba698759c17be1fed753632f74edd7 Mon Sep 17 00:00:00 2001 From: Stefan Oehrli Date: Sat, 24 Apr 2021 21:24:09 +0200 Subject: [PATCH] change ssh authorized key handling --- compute.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compute.tf b/compute.tf index 705970c..e91325d 100644 --- a/compute.tf +++ b/compute.tf @@ -41,7 +41,7 @@ resource "oci_core_instance" "bastion" { yum_upgrade = var.yum_upgrade guacamole_user = var.guacamole_user guacamole_connections = base64gzip(local.guacamole_connections) - authorized_keys = base64gzip(file(local.ssh_public_key_path)) + authorized_keys = base64gzip(local.ssh_authorized_keys) etc_hosts = base64gzip(local.hosts_file) fail2ban_config = local.fail2ban_config guacamole_initialization = base64gzip(templatefile("${path.module}/scripts/guacamole_init.template.sh", {