support main disk size
This commit is contained in:
parent
a7953ef21b
commit
0a4af15521
2 changed files with 8 additions and 2 deletions
1
debian/main.tf
vendored
1
debian/main.tf
vendored
|
@ -29,4 +29,5 @@ module "tf_debian_vm" {
|
||||||
ansible_command = var.ansible_command
|
ansible_command = var.ansible_command
|
||||||
mac = var.mac
|
mac = var.mac
|
||||||
fixed_dns = var.fixed_dns
|
fixed_dns = var.fixed_dns
|
||||||
|
disk_size = var.disk_size
|
||||||
}
|
}
|
||||||
|
|
9
debian/variables.tf
vendored
9
debian/variables.tf
vendored
|
@ -3,7 +3,7 @@ variable "name" {
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "domain_name" {
|
variable "domain_name" {
|
||||||
type = string
|
type = string
|
||||||
default = null
|
default = null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -78,6 +78,11 @@ variable "mac" {
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "fixed_dns" {
|
variable "fixed_dns" {
|
||||||
type = string
|
type = string
|
||||||
default = ""
|
default = ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "disk_size" {
|
||||||
|
type = number
|
||||||
|
default = 1024 * 1024 * 1024 * 15
|
||||||
|
}
|
||||||
|
|
Reference in a new issue