terracadoles/modules/virtualMachine/variables.tf

99 lines
1.8 KiB
Terraform
Raw Normal View History

variable "one_user" {
description = "OpenNebula user"
type = string
}
variable "one_prod_ds" {
description = "ID du Datastore de production"
type = string
}
variable "vm_shortname" {
description = "Virtual machine short name"
type = string
}
variable "vm_domain" {
description = "Full qualified dns domain name"
type = string
}
variable "system_image_source" {
description = "Virtual Machine system image source"
type = string
default = "https://marketplace.opennebula.io//appliance/251b0578-6c47-4ba4-b184-dc6e873201a2/download/0"
}
variable "data_image_source" {
description = "Virtual Machine data disk image source"
type = string
default = "https://marketplace.opennebula.io//appliance/251b0578-6c47-4ba4-b184-dc6e873201a2/download/0"
}
variable "tag_labels" {
description = "Labels"
type = string
}
variable "network_interfaces" {
description = "Network interfaces"
type = list
}
variable "cpu" {
description = "VM CPU"
type = string
default = "0.2"
}
variable "vcpu" {
description = "VM vCPU"
type = string
default = "2"
}
variable "ram" {
description = "VM RAM"
type = string
default = "512"
}
variable "depends" {
description = "List of output_variables for dependences management"
type = list
default = []
}
variable "dns_a_record" {
description = "Create a dns A record (yes/no)"
type = string
default = "no"
}
variable "dns_cname_record" {
description = "List of CNAME for A entry"
type = map(string)
default = {}
}
variable "group" {
description = "Group (owner group)"
type = string
default = "production"
}
variable "graphics" {
description = "Graphics declaration"
type = map(string)
default = {
keymap = "fr"
listen = "0.0.0.0"
type = "VNC"
}
}
variable "imagemode" {
description = "Disk image mode"
type = string
default = "600"
}