60 lines
961 B
HCL
60 lines
961 B
HCL
variable "name" {
|
|
type = string
|
|
default = "debian"
|
|
}
|
|
|
|
variable "version" {
|
|
type = string
|
|
default = "11"
|
|
}
|
|
|
|
variable "short_version" {
|
|
type = string
|
|
default = "11"
|
|
}
|
|
|
|
variable "arch" {
|
|
type = string
|
|
default = "amd6464"
|
|
}
|
|
|
|
variable "output_dir" {
|
|
type = string
|
|
default = "output/debian/"
|
|
}
|
|
|
|
variable "source_url" {
|
|
type = string
|
|
default = "https://cdimage.debian.org/cdimage/release"
|
|
}
|
|
|
|
variable "iso_cd_checksum" {
|
|
type = string
|
|
default = "sha256:9ae04227e89047b72970a0d5f1897e2573fd0d4bba3d381086307af604072bad9e33174357fd3c3545a2a2b5b83ce19f3dbb5c352e86d5173b833df59b4a5741"
|
|
}
|
|
|
|
variable "image_version" {
|
|
type = string
|
|
default = "0.0.1"
|
|
}
|
|
|
|
variable "one_user" {
|
|
type = string
|
|
default = env("ONE_USER")
|
|
}
|
|
|
|
variable "one_token" {
|
|
type = string
|
|
default = env("ONE_TOKEN")
|
|
}
|
|
|
|
variable "boot_command" {
|
|
type = list(string)
|
|
default = []
|
|
}
|
|
|
|
variable "cloud_init_runcmd" {
|
|
type = list(string)
|
|
default = [ "uname" ]
|
|
}
|