We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 901545d commit f6893cdCopy full SHA for f6893cd
1 file changed
alz/local/locals.tf
@@ -39,7 +39,7 @@ locals {
39
target_directory = var.target_directory == "" ? ("${path.module}/${var.default_target_directory}") : var.target_directory
40
script_target_folder_name = "scripts"
41
script_source_folder_name = var.iac_type == "bicep" ? "scripts-bicep" : (var.iac_type == "bicep-classic" ? "scripts" : null)
42
- script_source_folder_path = "${path.module}/${local.script_source_folder_name}"
+ script_source_folder_path = local.script_source_folder_name == null ? null : "${path.module}/${local.script_source_folder_name}"
43
}
44
45
locals {
0 commit comments