This repository has been archived on 2023-05-08. You can view files and clone it, but cannot push or open issues or pull requests.
tf-debian-vm/variables.tf

67 lines
1 KiB
Terraform
Raw Normal View History

2023-04-05 14:48:38 +00:00
variable "name" {
type = string
}
variable "disk_size" {
2023-04-05 15:12:16 +00:00
type = number
2023-04-05 14:48:38 +00:00
default = 1024 * 1024 * 1024 * 15
}
variable "admin_authorized_keys" {
type = list(string)
default = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOodpLr+FDRyKyHjucHizNLVFHZ5AQmE9GmxMnOsSoaw pimkunis@thinkpadpim",
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINUZp4BCxf7uLa1QWonx/Crf8tYZ5MKIZ+EuaBa82LrV user@user-laptop"
]
}
variable "memory" {
2023-04-05 15:12:16 +00:00
type = number
2023-04-05 14:48:38 +00:00
default = 1024
}
variable "mac" {
2023-04-05 15:12:16 +00:00
type = string
2023-04-05 14:48:38 +00:00
default = null
}
variable "insecure_password" {
2023-04-05 15:12:16 +00:00
type = bool
2023-04-05 14:48:38 +00:00
default = false
}
variable "use_host_cert" {
2023-04-05 15:12:16 +00:00
type = bool
2023-04-05 14:48:38 +00:00
default = true
}
2023-04-05 15:12:16 +00:00
variable "disk_pool" {
type = string
default = "disk"
}
variable "disk_base" {
type = string
default = "debian-bookworm.qcow2"
}
variable "disk_base_pool" {
type = string
default = "iso"
}
variable "cloudinit_pool" {
type = string
default = "init"
}
variable "bridge_name" {
type = string
default = "dmzbr"
}
variable "ca_host" {
type = string
default = "hermes.dmz"
}