create ssh key for compute instances

This commit is contained in:
2024-05-24 16:18:39 +06:00
parent e80919d3be
commit be39b066c5
4 changed files with 29 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
resource "tls_private_key" "ssh_key" {
count = var.compute_ssh_key == null ? 1 : 0
algorithm = var.created_ssh_key_algorithm
}