Skip to content
This repository has been archived by the owner on Jun 22, 2021. It is now read-only.

Commit

Permalink
update modules
Browse files Browse the repository at this point in the history
  • Loading branch information
kumarvit committed Sep 12, 2020
1 parent 2899dd2 commit 34b351a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ Name | Description | Type | Default

## Authors

Module is maintained by [Kumaraswamy Vithanala](mailto:[email protected]) with the help from other awesome contributors.
Originally created by [Kumaraswamy Vithanala (Kumar)](mailto:[email protected])

## Other resources

Expand Down
4 changes: 2 additions & 2 deletions output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ output "network_security_group_ids" {
# DDoS Protection Plan
output "ddos_protection_plan_id" {
description = "Ddos protection plan details"
value = element(concat(azurerm_network_ddos_protection_plan.ddos.*.id, [""]), 0)
value = var.create_ddos_plan ? element(concat(azurerm_network_ddos_protection_plan.ddos.*.id, [""]), 0) : null
}

# Network Watcher
output "network_watcher_id" {
description = "ID of Network Watcher"
value = element(concat(azurerm_network_watcher.nwatcher.*.id, [""]), 0)
value = var.is_spoke_deployed_to_same_hub_subscription == false ? element(concat(azurerm_network_watcher.nwatcher.*.id, [""]), 0) : null
}

output "route_table_name" {
Expand Down

0 comments on commit 34b351a

Please sign in to comment.