forked from jadebustos/devopslabs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vars.tf
37 lines (31 loc) · 795 Bytes
/
vars.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
variable "pool_path" {
type = string
description = "directorio donde se almacenara el qcow2"
default = "/var/lib/libvirt/images/terraform/podman"
}
variable "vm_name" {
type = string
description = "nombre de la maquina virtual"
default = "lab-podman"
}
variable "qcow2_image" {
type = string
description = "imagen qcow2 para desplegar"
#default = "https://fqdn/centos8-cloud-init-updated-20210117.qcow2"
default = "/var/lib/libvirt/images/centos8-python36-cloud_init-updated-20210117.qcow2"
}
variable "cpu" {
type = number
description = "vcpus"
default = 2
}
variable "memory" {
type = number
description = "memoria en megas"
default = 4096
}
variable "network_name" {
type = string
description = "red para la maquina virtual"
default = "frontend"
}