From f6e18094e8d747a345143d4db534e48018be45af Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Mon, 17 Apr 2023 09:32:30 +0200 Subject: [PATCH] add option for fixed DNS --- debian/main.tf | 1 + debian/variables.tf | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/debian/main.tf b/debian/main.tf index 5d50489..8233ffc 100644 --- a/debian/main.tf +++ b/debian/main.tf @@ -28,4 +28,5 @@ module "tf_debian_vm" { fixed_address = var.fixed_address ansible_command = var.ansible_command mac = var.mac + fixed_dns = var.fixed_dns } diff --git a/debian/variables.tf b/debian/variables.tf index f3ee535..fa70210 100644 --- a/debian/variables.tf +++ b/debian/variables.tf @@ -76,3 +76,8 @@ variable "mac" { type = string default = null } + +variable "fixed_dns" { + type = string + default = "" +}