diff --git a/tutorials/terraform/clickhouse-cluster-and-vm-for-rabbitmq.tf b/tutorials/terraform/clickhouse-cluster-and-vm-for-rabbitmq.tf index 6f99b3be..2cdd3429 100644 --- a/tutorials/terraform/clickhouse-cluster-and-vm-for-rabbitmq.tf +++ b/tutorials/terraform/clickhouse-cluster-and-vm-for-rabbitmq.tf @@ -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)}" } } diff --git a/tutorials/terraform/data-migration-mysql-mmy/data-migration-mysql-mmy.tf b/tutorials/terraform/data-migration-mysql-mmy/data-migration-mysql-mmy.tf index ac6a0238..0f02b044 100644 --- a/tutorials/terraform/data-migration-mysql-mmy/data-migration-mysql-mmy.tf +++ b/tutorials/terraform/data-migration-mysql-mmy/data-migration-mysql-mmy.tf @@ -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. # } #} diff --git a/tutorials/terraform/data-migration-pgsql-mpg/data-restore-pgsql-mpg.tf b/tutorials/terraform/data-migration-pgsql-mpg/data-restore-pgsql-mpg.tf index 28a64f3c..e2da089d 100644 --- a/tutorials/terraform/data-migration-pgsql-mpg/data-restore-pgsql-mpg.tf +++ b/tutorials/terraform/data-migration-pgsql-mpg/data-restore-pgsql-mpg.tf @@ -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. # } #} diff --git a/tutorials/terraform/greenplum-s3-vm.tf b/tutorials/terraform/greenplum-s3-vm.tf index 186220fe..d76152db 100644 --- a/tutorials/terraform/greenplum-s3-vm.tf +++ b/tutorials/terraform/greenplum-s3-vm.tf @@ -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)}" } } diff --git a/tutorials/terraform/kafka-connect.tf b/tutorials/terraform/kafka-connect.tf index 85d7b9b6..b4871326 100644 --- a/tutorials/terraform/kafka-connect.tf +++ b/tutorials/terraform/kafka-connect.tf @@ -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)}" } } diff --git a/tutorials/terraform/kafka-mirror-maker.tf b/tutorials/terraform/kafka-mirror-maker.tf index 8c5ecb92..1c661740 100644 --- a/tutorials/terraform/kafka-mirror-maker.tf +++ b/tutorials/terraform/kafka-mirror-maker.tf @@ -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)}" } } diff --git a/tutorials/terraform/redis-as-php-session-storage/redis-cluster-non-sharded-and-vm-for-php.tf b/tutorials/terraform/redis-as-php-session-storage/redis-cluster-non-sharded-and-vm-for-php.tf index a5c4b612..27912368 100644 --- a/tutorials/terraform/redis-as-php-session-storage/redis-cluster-non-sharded-and-vm-for-php.tf +++ b/tutorials/terraform/redis-as-php-session-storage/redis-cluster-non-sharded-and-vm-for-php.tf @@ -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)}" } } diff --git a/tutorials/terraform/redis-as-php-session-storage/redis-cluster-sharded-and-vm-for-php.tf b/tutorials/terraform/redis-as-php-session-storage/redis-cluster-sharded-and-vm-for-php.tf index 7ab4bacd..9415c597 100644 --- a/tutorials/terraform/redis-as-php-session-storage/redis-cluster-sharded-and-vm-for-php.tf +++ b/tutorials/terraform/redis-as-php-session-storage/redis-cluster-sharded-and-vm-for-php.tf @@ -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)}" } } diff --git a/tutorials/terraform/redis-migration/redis-cluster-non-sharded.tf b/tutorials/terraform/redis-migration/redis-cluster-non-sharded.tf index 3215cd1c..a66b68aa 100644 --- a/tutorials/terraform/redis-migration/redis-cluster-non-sharded.tf +++ b/tutorials/terraform/redis-migration/redis-cluster-non-sharded.tf @@ -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. # } #} diff --git a/tutorials/terraform/redis-migration/redis-cluster-sharded.tf b/tutorials/terraform/redis-migration/redis-cluster-sharded.tf index de981235..da6996c3 100644 --- a/tutorials/terraform/redis-migration/redis-cluster-sharded.tf +++ b/tutorials/terraform/redis-migration/redis-cluster-sharded.tf @@ -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. # } #}