support only one data disk

This commit is contained in:
Pim Kunis 2023-04-07 17:44:06 +02:00
parent 1fc775f4ee
commit 6c3cdeeca5
2 changed files with 4 additions and 4 deletions

2
debian/main.tf vendored
View file

@ -23,5 +23,5 @@ module "tf_debian_vm" {
bridge_name = coalesce(var.bridge_name, module.invariants.bridge_name) bridge_name = coalesce(var.bridge_name, module.invariants.bridge_name)
ca_host = coalesce(var.ca_host, module.invariants.ca_host) ca_host = coalesce(var.ca_host, module.invariants.ca_host)
memory = var.memory memory = var.memory
data_disks = var.data_disks data_disk = var.data_disk
} }

6
debian/variables.tf vendored
View file

@ -52,7 +52,7 @@ variable "memory" {
default = 1024 default = 1024
} }
variable "data_disks" { variable "data_disk" {
type = list(string) type = string
default = [] default = null
} }