GnomeZworc
268a346a19
I made this things a vars Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
100 lines
1.0 KiB
HCL
100 lines
1.0 KiB
HCL
#Provider
|
|
variable "netbox_server_url" {
|
|
type = string
|
|
}
|
|
|
|
variable "netbox_api_token" {
|
|
type = string
|
|
}
|
|
variable "netbox_allow_insecure_https" {
|
|
type = string
|
|
}
|
|
|
|
variable "xo_url" {
|
|
type = string
|
|
}
|
|
|
|
variable "xo_username" {
|
|
type = string
|
|
}
|
|
|
|
variable "xo_password" {
|
|
type = string
|
|
}
|
|
|
|
variable "xo_insecure" {
|
|
type = string
|
|
}
|
|
|
|
|
|
|
|
|
|
#Main
|
|
variable "netbox_prefix" {
|
|
type = string
|
|
}
|
|
|
|
variable "netmask_netbox" {
|
|
type = string
|
|
}
|
|
|
|
variable "gateway" {
|
|
type = string
|
|
}
|
|
|
|
variable "netmask" {
|
|
type = string
|
|
}
|
|
|
|
variable "dns_name" {
|
|
type = string
|
|
}
|
|
|
|
variable "storage" {
|
|
type = string
|
|
}
|
|
|
|
variable "network" {
|
|
type = string
|
|
}
|
|
|
|
variable "pool" {
|
|
type = string
|
|
}
|
|
|
|
variable "template" {
|
|
type = string
|
|
}
|
|
|
|
variable "playbook" {
|
|
type = string
|
|
}
|
|
|
|
variable "cpu" {
|
|
type = number
|
|
}
|
|
|
|
variable "ram" {
|
|
type = number
|
|
}
|
|
|
|
variable "name" {
|
|
type = string
|
|
}
|
|
|
|
variable "desc" {
|
|
type = string
|
|
}
|
|
|
|
variable "disk_size" {
|
|
type = number
|
|
}
|
|
|
|
variable "ssh_keys" {
|
|
type = string
|
|
}
|
|
|
|
variable "vm_tags" {
|
|
type = list
|
|
}
|