add debug logging option

This commit is contained in:
Jörg Thalheim 2023-02-22 16:11:42 +01:00
parent 57a6ec5ffc
commit 23bbd22fb2
3 changed files with 13 additions and 0 deletions

View File

@ -19,6 +19,7 @@ module "install" {
nixos_partitioner = module.partitioner-build.result.out
nixos_system = module.system-build.result.out
ssh_private_key = var.ssh_private_key
debug_logging = var.debug_logging
}
module "nixos-rebuild" {

View File

@ -44,3 +44,9 @@ variable "ssh_private_key" {
description = "Content of private key used to connect to the target_host"
default = null
}
variable "debug_logging" {
type = bool
description = "Enable debug logging"
default = false
}

View File

@ -38,3 +38,9 @@ variable "ssh_private_key" {
description = "Content of private key used to connect to the target_host"
default = ""
}
variable "debug_logging" {
type = bool
description = "Enable debug logging"
default = false
}