support main disk size

This commit is contained in:
Pim Kunis 2023-04-19 11:27:31 +02:00
parent a7953ef21b
commit 0a4af15521
2 changed files with 8 additions and 2 deletions

1
debian/main.tf vendored
View file

@ -29,4 +29,5 @@ module "tf_debian_vm" {
ansible_command = var.ansible_command
mac = var.mac
fixed_dns = var.fixed_dns
disk_size = var.disk_size
}

9
debian/variables.tf vendored
View file

@ -3,7 +3,7 @@ variable "name" {
}
variable "domain_name" {
type = string
type = string
default = null
}
@ -78,6 +78,11 @@ variable "mac" {
}
variable "fixed_dns" {
type = string
type = string
default = ""
}
variable "disk_size" {
type = number
default = 1024 * 1024 * 1024 * 15
}