remove support for data disks

This commit is contained in:
Pim Kunis 2023-04-26 13:24:03 +02:00
parent 710ef76d8a
commit 36f104e1e0
2 changed files with 2 additions and 8 deletions

5
debian/main.tf vendored
View file

@ -7,11 +7,11 @@ terraform {
}
module "invariants" {
source = "/home/pim/repos/tf-modules/invariants"
source = "git::https://git.pim.kunis.nl/home/tf-modules.git//invariants"
}
module "tf_debian_vm" {
source = "/home/pim/repos/tf-debian-vm"
source = "git::https://git.pim.kunis.nl/pim/tf-debian-vm.git"
name = var.name
domain_name = var.domain_name
admin_authorized_keys = coalesce(var.admin_authorized_keys, module.invariants.admin_authorized_keys)
@ -26,7 +26,6 @@ module "tf_debian_vm" {
ca_script = module.invariants.ca_script
ca_key = var.ca_key
memory = var.memory
data_disk = var.data_disk
fixed_address = var.fixed_address
ansible_command = var.ansible_command
mac = var.mac

5
debian/variables.tf vendored
View file

@ -52,11 +52,6 @@ variable "memory" {
default = 1024
}
variable "data_disk" {
type = string
default = null
}
variable "fixed_address" {
type = string
default = ""