Skip to content

Commit

Permalink
Fix hubNetworking module output when DDoS is disabled (#861)
Browse files Browse the repository at this point in the history
When disabling DDoS in hubNetworking the module fails because the DDoS plan is not actually provisioned and the output always requires it.
  • Loading branch information
cconstantin authored Sep 23, 2024
1 parent 79b1fbb commit b5f811d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1086,7 +1086,7 @@ output outAzFirewallName string = parAzFirewallEnabled ? parAzFirewallName : ''
output outPrivateDnsZones array = (parPrivateDnsZonesEnabled ? modPrivateDnsZones.outputs.outPrivateDnsZones : [])
output outPrivateDnsZonesNames array = (parPrivateDnsZonesEnabled ? modPrivateDnsZones.outputs.outPrivateDnsZonesNames : [])

output outDdosPlanResourceId string = resDdosProtectionPlan.id
output outDdosPlanResourceId string = parDdosEnabled ? resDdosProtectionPlan.id : ''
output outHubVirtualNetworkName string = resHubVnet.name
output outHubVirtualNetworkId string = resHubVnet.id
output outHubRouteTableId string = parAzFirewallEnabled ? resHubRouteTable.id : ''
Expand Down

0 comments on commit b5f811d

Please sign in to comment.