Skip to content

Commit

Permalink
Merge pull request #8 from qbeyond/feature/add-template-vars
Browse files Browse the repository at this point in the history
Added template_file_variables
  • Loading branch information
QBY-MarkusMaring authored Dec 20, 2023
2 parents ba8bca7 + 8a9a942 commit 9e2cd0b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 3 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ module "governance_eslz" {

disable_telemetry = true

custom_landing_zones = local.caf_input
library_path = var.library_path
custom_landing_zones = local.caf_input
template_file_variables = var.template_file_variables
library_path = var.library_path
}
6 changes: 6 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,9 @@ variable "library_path" {
description = "If specified, sets the path to a custom library folder for archetype artefacts."
default = ""
}

variable "template_file_variables" {
type = any
description = "If specified, provides the ability to define custom template variables used when reading in template files from the built-in and custom library_path."
default = {}
}

0 comments on commit 9e2cd0b

Please sign in to comment.