60 lines
913 B
HCL
60 lines
913 B
HCL
variable "name" {
|
|
type = string
|
|
default = "debian"
|
|
}
|
|
|
|
variable "version" {
|
|
type = string
|
|
default = "12.2.0"
|
|
}
|
|
|
|
variable "short_version" {
|
|
type = string
|
|
default = "12"
|
|
}
|
|
|
|
variable "arch" {
|
|
type = string
|
|
default = "amd64"
|
|
}
|
|
|
|
variable "output_dir" {
|
|
type = string
|
|
default = "output/debian/"
|
|
}
|
|
|
|
variable "source_url" {
|
|
type = string
|
|
default = "https://cdimage.debian.org/cdimage/release/12.2.0"
|
|
}
|
|
|
|
variable "iso_cd_checksum" {
|
|
type = string
|
|
default = "file:https://cdimage.debian.org/cdimage/release/12.2.0/amd64/iso-cd/SHA256SUMS"
|
|
}
|
|
|
|
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" ]
|
|
}
|