93 lines
1.6 KiB
Terraform
93 lines
1.6 KiB
Terraform
|
variable "one_user" {
|
||
|
description = "OpenNebula user"
|
||
|
type = string
|
||
|
}
|
||
|
|
||
|
variable "one_prod_ds" {
|
||
|
description = "ID du Datastore de production"
|
||
|
type = string
|
||
|
}
|
||
|
|
||
|
variable "vm_fqdn" {
|
||
|
description = "Virtual Machine FQDN Name"
|
||
|
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_name" {
|
||
|
description = "System image disk name"
|
||
|
type = string
|
||
|
}
|
||
|
|
||
|
variable "system_image_source" {
|
||
|
description = "Virtual Machine system image source"
|
||
|
type = string
|
||
|
}
|
||
|
|
||
|
variable "data_image_name" {
|
||
|
description = "Data image disk name"
|
||
|
type = string
|
||
|
}
|
||
|
|
||
|
variable "data_image_source" {
|
||
|
description = "Virtual Machine data disk image source"
|
||
|
type = string
|
||
|
}
|
||
|
|
||
|
variable "tag_labels" {
|
||
|
description = "Labels"
|
||
|
type = string
|
||
|
}
|
||
|
|
||
|
variable "network_interfaces" {
|
||
|
description = "Network interfaces"
|
||
|
type = list
|
||
|
}
|
||
|
|
||
|
variable "cpu" {
|
||
|
description = "VM CPU"
|
||
|
type = string
|
||
|
}
|
||
|
|
||
|
variable "vcpu" {
|
||
|
description = "VM vCPU"
|
||
|
type = string
|
||
|
}
|
||
|
|
||
|
variable "ram" {
|
||
|
description = "VM RAM"
|
||
|
type = string
|
||
|
}
|
||
|
|
||
|
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 "vnets" {
|
||
|
description = "OpenNebula virtual network resource"
|
||
|
type = map
|
||
|
default = {}
|
||
|
}
|