support only one data disk
This commit is contained in:
parent
1fc775f4ee
commit
6c3cdeeca5
2 changed files with 4 additions and 4 deletions
2
debian/main.tf
vendored
2
debian/main.tf
vendored
|
@ -23,5 +23,5 @@ module "tf_debian_vm" {
|
|||
bridge_name = coalesce(var.bridge_name, module.invariants.bridge_name)
|
||||
ca_host = coalesce(var.ca_host, module.invariants.ca_host)
|
||||
memory = var.memory
|
||||
data_disks = var.data_disks
|
||||
data_disk = var.data_disk
|
||||
}
|
||||
|
|
6
debian/variables.tf
vendored
6
debian/variables.tf
vendored
|
@ -52,7 +52,7 @@ variable "memory" {
|
|||
default = 1024
|
||||
}
|
||||
|
||||
variable "data_disks" {
|
||||
type = list(string)
|
||||
default = []
|
||||
variable "data_disk" {
|
||||
type = string
|
||||
default = null
|
||||
}
|
||||
|
|
Reference in a new issue