-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
72 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
output "vpn_gw_id" { | ||
value = join("", module.vpn.*.vpn_gw_id) | ||
value = module.vpn.vpn_gw_id | ||
description = "The ID of the Virtual Network Gateway." | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
output "vpn_gw_id" { | ||
value = join("", module.vpn.*.vpn_gw_id_certificate) | ||
value = module.vpn.vpn_gw_id_certificate | ||
description = "The ID of the Virtual Network Gateway." | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
output "vpn_gw_id" { | ||
value = join("", module.vpn.*.vpn_gw_id) | ||
value = module.vpn.vpn_gw_id | ||
description = "The ID of the Virtual Network Gateway." | ||
} | ||
output "local_network_gw_id" { | ||
value = join("", module.vpn.*.local_network_gw_id) | ||
value = module.vpn.local_network_gw_id | ||
description = "The ID of the Local Network Gateway." | ||
} | ||
|
||
output "local_network_gw_connection_id" { | ||
value = join("", module.vpn.*.local_network_gw_connection_id) | ||
value = module.vpn.local_network_gw_connection_id | ||
description = "The ID of the Virtual Network Gateway Connection." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
output "vpn_gw_id" { | ||
value = join("", azurerm_virtual_network_gateway.vpngw.*.id) | ||
value = try( azurerm_virtual_network_gateway.vpngw[0].id, null) | ||
description = "The ID of the Virtual Network Gateway." | ||
} | ||
|
||
output "vpn_gw_id_certificate" { | ||
value = join("", azurerm_virtual_network_gateway.vpngw2.*.id) | ||
value = try( azurerm_virtual_network_gateway.vpngw2[0].id, null) | ||
description = "The ID of the Virtual Network Gateway." | ||
} | ||
|
||
output "local_network_gw_id" { | ||
value = join("", azurerm_local_network_gateway.localgw.*.id) | ||
value = try(azurerm_local_network_gateway.localgw[*].id, null) | ||
description = "The ID of the Local Network Gateway." | ||
} | ||
output "local_network_gw_connection_id" { | ||
value = join("", azurerm_virtual_network_gateway_connection.az-hub-onprem.*.id) | ||
value = try( azurerm_virtual_network_gateway_connection.az-hub-onprem[*].id, null) | ||
description = "The ID of the Virtual Network Gateway Connection." | ||
} |