aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/yandex/server/main.tf
diff options
context:
space:
mode:
Diffstat (limited to 'yandex/server/main.tf')
-rw-r--r--yandex/server/main.tf4
1 files changed, 2 insertions, 2 deletions
diff --git a/yandex/server/main.tf b/yandex/server/main.tf
index 12d31d9..b9d4650 100644
--- a/yandex/server/main.tf
+++ b/yandex/server/main.tf
@@ -1,5 +1,5 @@
locals {
- sshd_config = templatefile("${path.module}/etc/sshd_config", {
+ sshd_config = templatefile("${path.module}/../../etc/sshd_config", {
port = var.ssh_port
users = [var.user]
})
@@ -30,7 +30,7 @@ resource "yandex_compute_instance" "this" {
}
metadata = {
- user-data = templatefile("${path.module}/etc/cloud-init.cfg", {
+ user-data = templatefile("${path.module}/../../etc/cloud-init.cfg", {
user = var.user
ssh_keys = var.ssh_keys
sshd_config = local.sshd_config