Skip to content
This repository was archived by the owner on May 16, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,6 @@ resource "yandex_compute_instance" "vm-1" {
}

metadata = {
ssh-keys = "local.vm_username:${file(local.vm_ssh_key_path)}"
ssh-keys = "${local.vm_username}:${file(local.vm_ssh_key_path)}"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,6 @@ resource "yandex_mdb_mysql_cluster" "mysql-cluster" {
# }
#
# metadata = {
# ssh-keys = "local.vm_username:${file(local.vm_public_key)}" # Username and SSH public key full path.
# ssh-keys = "${local.vm_username}:${file(local.vm_public_key)}" # Username and SSH public key full path.
# }
#}
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,6 @@ resource "yandex_mdb_postgresql_user" "user" {
# }
#
# metadata = {
# ssh-keys = "local.vm_username:${file(local.vm_public_key)}" # Username and SSH public key full path.
# ssh-keys = "${local.vm_username}:${file(local.vm_public_key)}" # Username and SSH public key full path.
# }
#}
2 changes: 1 addition & 1 deletion tutorials/terraform/greenplum-s3-vm.tf
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ resource "yandex_compute_instance" "vm-ubuntu-20-04" {
}

metadata = {
ssh-keys = "local.vm_username:${file(local.vm_ssh_key_path)}"
ssh-keys = "${local.vm_username}:${file(local.vm_ssh_key_path)}"
}
}

Expand Down
2 changes: 1 addition & 1 deletion tutorials/terraform/kafka-connect.tf
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ resource "yandex_compute_instance" "vm-ubuntu-20-04" {
metadata = {
# Set username and path for SSH public key
# For Ubuntu images used `ubuntu` username by default
ssh-keys = "local.vm_username:${file(local.vm_ssh_key_path)}"
ssh-keys = "${local.vm_username}:${file(local.vm_ssh_key_path)}"
}
}

Expand Down
2 changes: 1 addition & 1 deletion tutorials/terraform/kafka-mirror-maker.tf
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,6 @@ resource "yandex_compute_instance" "vm-mirror-maker" {
}

metadata = {
ssh-keys = "local.vm_username:${file(local.vm_ssh_key_path)}"
ssh-keys = "${local.vm_username}:${file(local.vm_ssh_key_path)}"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,6 @@ resource "yandex_compute_instance" "lamp-vm" {
}

metadata = {
ssh-keys = "local.vm_username:${file(local.vm_ssh_key_path)}"
ssh-keys = "${local.vm_username}:${file(local.vm_ssh_key_path)}"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,6 @@ resource "yandex_compute_instance" "lamp-vm" {
}

metadata = {
ssh-keys = "local.vm_username:${file(local.vm_ssh_key_path)}"
ssh-keys = "${local.vm_username}:${file(local.vm_ssh_key_path)}"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,6 @@ resource "yandex_mdb_redis_cluster" "redis-cluster" {
# }
#
# metadata = {
# ssh-keys = "local.vm_username:${file(local.vm_public_key)}" # Username and SSH public key full path.
# ssh-keys = "${local.vm_username}:${file(local.vm_public_key)}" # Username and SSH public key full path.
# }
#}
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,6 @@ resource "yandex_mdb_redis_cluster" "redis-cluster" {
# }
#
# metadata = {
# ssh-keys = "local.vm_username:${file(local.vm_public_key)}" # Username and SSH public key full path.
# ssh-keys = "${local.vm_username}:${file(local.vm_public_key)}" # Username and SSH public key full path.
# }
#}