2020-08-10 23:05:35 +00:00
|
|
|
variable "ip" {
|
|
|
|
type = string
|
2021-01-24 20:49:30 +00:00
|
|
|
default = "10.17.3.35/24"
|
2020-08-10 23:05:35 +00:00
|
|
|
description = "fixed ip address for compute"
|
|
|
|
}
|
|
|
|
|
2021-01-23 20:45:22 +00:00
|
|
|
variable "number_domain" {
|
2020-08-10 23:05:35 +00:00
|
|
|
type = string
|
2021-01-24 20:49:30 +00:00
|
|
|
default = "4"
|
2021-01-23 20:45:22 +00:00
|
|
|
description = "number of domain"
|
2020-08-10 23:05:35 +00:00
|
|
|
}
|
|
|
|
|
2021-01-23 20:45:22 +00:00
|
|
|
variable "hostname" {
|
2020-08-10 23:05:35 +00:00
|
|
|
type = string
|
2021-01-23 20:45:22 +00:00
|
|
|
default = "compute"
|
|
|
|
description = "compute hostname"
|
2020-08-10 23:05:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "dns_address" {
|
|
|
|
type = string
|
|
|
|
default = "100.64.0.17"
|
|
|
|
description = "dns ip address"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "pool_1" {
|
|
|
|
type = string
|
|
|
|
default = "pool_1"
|
|
|
|
description = "already created pool name, set with variable because libvirt provider dont' wotk with data resource"
|
|
|
|
}
|
|
|
|
|
2021-01-24 20:49:30 +00:00
|
|
|
locals {
|
|
|
|
debian_buster_qcow2 = "debian-10.7.0-with-docker.qcow2"
|
|
|
|
centos7_qcow2 = "centos7.qcow2"
|
2020-08-10 23:05:35 +00:00
|
|
|
}
|