Skip to content

Commit

Permalink
Add condition for ddos output
Browse files Browse the repository at this point in the history
  • Loading branch information
oZakari committed Sep 24, 2024
1 parent 4cb81c7 commit 80eccf1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ output outVirtualHubId array = [for (hub, i) in parVirtualWanHubs: {
}]

// Output DDoS Plan ID
output outDdosPlanResourceId string = resDdosProtectionPlan.id
output outDdosPlanResourceId string = parDdosEnabled ? resDdosProtectionPlan.id : ''

// Output Private DNS Zones
output outPrivateDnsZones array = (parPrivateDnsZonesEnabled ? modPrivateDnsZones.outputs.outPrivateDnsZones : [])
Expand Down

0 comments on commit 80eccf1

Please sign in to comment.