feat: add ability to set disk size
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
caa489fbf9
commit
1f65d3c75e
2
node.tf
2
node.tf
@ -84,7 +84,7 @@ resource "proxmox_vm_qemu" "node" {
|
||||
disk {
|
||||
storage = "local"
|
||||
# The size of the disk should be at least as big as the disk in the template. If it's smaller, the disk will be recreated
|
||||
size = "10G"
|
||||
size = var.disk_size
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -57,3 +57,7 @@ variable "cpu" {
|
||||
variable "memory" {
|
||||
default = 512
|
||||
}
|
||||
|
||||
variable "disk_size" {
|
||||
default = "10G"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user