add ssh variable

This commit is contained in:
Florian Nowarre 2022-09-18 23:48:23 +02:00
parent 8128b87f6f
commit 42f2d78b12
2 changed files with 6 additions and 1 deletions

View file

@ -1,5 +1,4 @@
variable "ssh_private_key_path" {}
variable "zone" {
type = string
default = "fsn1"
@ -21,6 +20,11 @@ variable "ssh_public_keys" {
type = list(string)
}
variable "ssh_public_keys" {
type = string
default = "~/.ssh/id_rsa"
}
variable "ssh_whitelist" {
type = list(string)
}

View file

@ -28,6 +28,7 @@ variable "ssh_public_keys" {
variable "ssh_private_key_path" {
description = "Private SSH key which connect to the VMs."
type = string
default = "~/.ssh/id_rsa"
}
variable "ssh_whitelist" {