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
|
||||||
}
|
}
|
||||||
|
|
5
debian/variables.tf
vendored
5
debian/variables.tf
vendored
|
@ -81,3 +81,8 @@ variable "fixed_dns" {
|
||||||
type = string
|
type = string
|
||||||
default = ""
|
default = ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "disk_size" {
|
||||||
|
type = number
|
||||||
|
default = 1024 * 1024 * 1024 * 15
|
||||||
|
}
|
||||||
|
|
Reference in a new issue