Skip to content

Commit 36d3815

Browse files
fix: honor deployBastionAndJumpbox independently from VM password
1 parent 887db52 commit 36d3815

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

infra/main.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ module virtualNetwork 'modules/virtualNetwork.bicep' = if (enablePrivateNetworki
383383
name: 'vnet-${solutionSuffix}'
384384
addressPrefixes: ['10.0.0.0/20'] // 4096 addresses (enough for 8 /23 subnets or 16 /24)
385385
location: location
386-
deployBastionAndJumpbox: enablePrivateNetworking && deployBastionAndJumpbox && !empty(vmAdminPassword)
386+
deployBastionAndJumpbox: enablePrivateNetworking && deployBastionAndJumpbox
387387
tags: tags
388388
logAnalyticsWorkspaceId: logAnalyticsWorkspaceResourceId
389389
resourceSuffix: solutionSuffix

infra/main.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"_generator": {
77
"name": "bicep",
88
"version": "0.41.2.15936",
9-
"templateHash": "14899763561101785269"
9+
"templateHash": "876801466335750099"
1010
},
1111
"name": "Intelligent Content Generation Accelerator",
1212
"description": "Solution Accelerator for multimodal marketing content generation using Microsoft Agent Framework.\n"
@@ -4859,7 +4859,7 @@
48594859
"value": "[parameters('location')]"
48604860
},
48614861
"deployBastionAndJumpbox": {
4862-
"value": "[and(and(parameters('enablePrivateNetworking'), parameters('deployBastionAndJumpbox')), not(empty(parameters('vmAdminPassword'))))]"
4862+
"value": "[and(parameters('enablePrivateNetworking'), parameters('deployBastionAndJumpbox'))]"
48634863
},
48644864
"tags": {
48654865
"value": "[parameters('tags')]"

0 commit comments

Comments
 (0)