Skip to content

Commit 5a61cbb

Browse files
fix: classic bicep boolean (#128)
1 parent 838118f commit 5a61cbb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/file_manipulation/locals.bicep.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ locals {
5353
subscriptionIdVariable = try(format(local.id_variable_template, script_file.subscriptionId), local.id_variable_template_empty)
5454
resourceGroupNameVariable = try(format(local.id_variable_template, script_file.resourceGroupName), local.id_variable_template_empty)
5555
deploymentType = script_file.deploymentType
56-
firstRunWhatIf = script_file.firstRunWhatIf
56+
firstRunWhatIf = var.iac_type == "local" ? format("$%s",script_file.firstRunWhatIf) : script_file.firstRunWhatIf
5757
group = script_file.group
5858
networkType = try(script_file.networkType, "")
5959
} if try(script_file.networkType, "") == "" || try(script_file.networkType, "") == local.networking_type } : {}

0 commit comments

Comments
 (0)