82 lines
1.4 KiB
Terraform
82 lines
1.4 KiB
Terraform
|
/*
|
||
|
* Variables
|
||
|
*/
|
||
|
|
||
|
variable "one_endpoint" {
|
||
|
description = "OpenNebula endpoint"
|
||
|
type = string
|
||
|
}
|
||
|
|
||
|
variable "one_user" {
|
||
|
description = "OpenNebula user"
|
||
|
type = string
|
||
|
}
|
||
|
|
||
|
variable "one_pass" {
|
||
|
description = "OpenNebula password"
|
||
|
type = string
|
||
|
}
|
||
|
|
||
|
variable "one_vswitch" {
|
||
|
description = "OpenvSwitch bridge name"
|
||
|
type = string
|
||
|
}
|
||
|
variable "dns_server" {
|
||
|
description = "DNS Server IP"
|
||
|
type = string
|
||
|
}
|
||
|
|
||
|
variable "cluster_id" {
|
||
|
description = "Cadoles ONE cluster ID"
|
||
|
type = string
|
||
|
}
|
||
|
|
||
|
variable "one_prod_ds" {
|
||
|
description = "ID du Datastore de production"
|
||
|
type = string
|
||
|
}
|
||
|
|
||
|
variable "dns_domain" {
|
||
|
description = "DNS Full qualified domain"
|
||
|
type = string
|
||
|
}
|
||
|
|
||
|
variable "dns_key_name" {
|
||
|
description = "DDNS Key name"
|
||
|
type = string
|
||
|
}
|
||
|
|
||
|
variable "dns_key_algo" {
|
||
|
description = "DDNS Key algorithm"
|
||
|
type = string
|
||
|
default = "hmac-sha256"
|
||
|
}
|
||
|
|
||
|
variable "dns_key_secret" {
|
||
|
description = "DDNS Key secret"
|
||
|
type = string
|
||
|
}
|
||
|
|
||
|
variable "dns_zones" {
|
||
|
description = "DNS Zone description"
|
||
|
type = list
|
||
|
default = []
|
||
|
}
|
||
|
|
||
|
variable "image_builder_ip" {
|
||
|
description = "Image builder IP"
|
||
|
type = string
|
||
|
default = "192.168.5.251"
|
||
|
}
|
||
|
|
||
|
variable "virtual_networks" {
|
||
|
description = "OpenNebula virtual networks definition"
|
||
|
type = map
|
||
|
default = {}
|
||
|
}
|
||
|
|
||
|
variable "virtual_machines" {
|
||
|
description = "OpenNebula virtual machines definition"
|
||
|
type = map
|
||
|
default = {}
|
||
|
}
|