Fediversity/infra/sync-nix/variables.tf

50 lines
988 B
HCL

variable "category" {
type = string
description = "Category to be used in naming the base image."
}
variable "description" {
type = string
default = ""
}
variable "sockets" {
type = number
description = "The number of sockets of the VM."
default = 1
}
variable "cores" {
type = number
description = "The number of cores of the VM."
default = 1
}
variable "memory" {
type = number
description = "The amount of memory of the VM in MiB."
default = 2048
}
variable "disk_size" {
type = number
description = "The amount of disk of the VM in GiB."
default = 32
}
variable "config_nix_base" {
type = string
description = "Nix configuration to be used in the deployed VM as well as the base install."
default = "{}"
}
variable "config_nix" {
type = string
description = "Nix configuration to be used in the deployed VM."
default = "{}"
}
variable "config_tf" {
type = any # map(any): all map elements must have the same type
default = {}
}