add ssh variable
This commit is contained in:
parent
8128b87f6f
commit
42f2d78b12
2 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,4 @@
|
||||||
|
|
||||||
variable "ssh_private_key_path" {}
|
|
||||||
variable "zone" {
|
variable "zone" {
|
||||||
type = string
|
type = string
|
||||||
default = "fsn1"
|
default = "fsn1"
|
||||||
|
@ -21,6 +20,11 @@ variable "ssh_public_keys" {
|
||||||
type = list(string)
|
type = list(string)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "ssh_public_keys" {
|
||||||
|
type = string
|
||||||
|
default = "~/.ssh/id_rsa"
|
||||||
|
}
|
||||||
|
|
||||||
variable "ssh_whitelist" {
|
variable "ssh_whitelist" {
|
||||||
type = list(string)
|
type = list(string)
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,6 +28,7 @@ variable "ssh_public_keys" {
|
||||||
variable "ssh_private_key_path" {
|
variable "ssh_private_key_path" {
|
||||||
description = "Private SSH key which connect to the VMs."
|
description = "Private SSH key which connect to the VMs."
|
||||||
type = string
|
type = string
|
||||||
|
default = "~/.ssh/id_rsa"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "ssh_whitelist" {
|
variable "ssh_whitelist" {
|
||||||
|
|
Loading…
Reference in a new issue