Skip to content

Commit

Permalink
Merge pull request #32 from bcgov/vpn-outputs
Browse files Browse the repository at this point in the history
Added VPN outputs
  • Loading branch information
AErmie authored Dec 16, 2024
2 parents 045204d + de62100 commit b4c47ac
Show file tree
Hide file tree
Showing 4 changed files with 85 additions and 1 deletion.
11 changes: 10 additions & 1 deletion azure_vpn/vpn_gateway_connection/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,14 @@ No modules.

## Outputs

No outputs.
| Name | Description |
|------|-------------|
| <a name="output_vpn_gateway_connection_id"></a> [vpn\_gateway\_connection\_id](#output\_vpn\_gateway\_connection\_id) | The ID of the VPN Gateway Connection. |
| <a name="output_vpn_gateway_connection_internet_security_enabled"></a> [vpn\_gateway\_connection\_internet\_security\_enabled](#output\_vpn\_gateway\_connection\_internet\_security\_enabled) | Is Internet Security enabled for the VPN Gateway Connection. |
| <a name="output_vpn_gateway_connection_name"></a> [vpn\_gateway\_connection\_name](#output\_vpn\_gateway\_connection\_name) | The name of the VPN Gateway Connection. |
| <a name="output_vpn_gateway_connection_remote_vpn_site_id"></a> [vpn\_gateway\_connection\_remote\_vpn\_site\_id](#output\_vpn\_gateway\_connection\_remote\_vpn\_site\_id) | The ID of the Remote VPN Site. |
| <a name="output_vpn_gateway_connection_routing"></a> [vpn\_gateway\_connection\_routing](#output\_vpn\_gateway\_connection\_routing) | The Routing configuration. |
| <a name="output_vpn_gateway_connection_traffic_selector_policy"></a> [vpn\_gateway\_connection\_traffic\_selector\_policy](#output\_vpn\_gateway\_connection\_traffic\_selector\_policy) | The Traffic Selector Policy configuration. |
| <a name="output_vpn_gateway_connection_vpn_gateway_id"></a> [vpn\_gateway\_connection\_vpn\_gateway\_id](#output\_vpn\_gateway\_connection\_vpn\_gateway\_id) | The ID of the VPN Gateway. |
| <a name="output_vpn_gateway_connection_vpn_link"></a> [vpn\_gateway\_connection\_vpn\_link](#output\_vpn\_gateway\_connection\_vpn\_link) | The VPN Link configuration. |
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
39 changes: 39 additions & 0 deletions azure_vpn/vpn_gateway_connection/outputs.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
output "vpn_gateway_connection_id" {
description = "The ID of the VPN Gateway Connection."
value = azurerm_vpn_gateway_connection.this.id
}

output "vpn_gateway_connection_name" {
description = "The name of the VPN Gateway Connection."
value = azurerm_vpn_gateway_connection.this.name
}

output "vpn_gateway_connection_remote_vpn_site_id" {
description = "The ID of the Remote VPN Site."
value = azurerm_vpn_gateway_connection.this.remote_vpn_site_id
}

output "vpn_gateway_connection_vpn_gateway_id" {
description = "The ID of the VPN Gateway."
value = azurerm_vpn_gateway_connection.this.vpn_gateway_id
}

output "vpn_gateway_connection_vpn_link" {
description = "The VPN Link configuration."
value = azurerm_vpn_gateway_connection.this.vpn_link
}

output "vpn_gateway_connection_internet_security_enabled" {
description = "Is Internet Security enabled for the VPN Gateway Connection."
value = azurerm_vpn_gateway_connection.this.internet_security_enabled
}

output "vpn_gateway_connection_routing" {
description = "The Routing configuration."
value = azurerm_vpn_gateway_connection.this.routing
}

output "vpn_gateway_connection_traffic_selector_policy" {
description = "The Traffic Selector Policy configuration."
value = azurerm_vpn_gateway_connection.this.traffic_selector_policy
}
6 changes: 6 additions & 0 deletions azure_vpn/vpn_site/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ No modules.

| Name | Description |
|------|-------------|
| <a name="output_vpn_site_address_cidrs"></a> [vpn\_site\_address\_cidrs](#output\_vpn\_site\_address\_cidrs) | The list of address CIDRs for the VPN Site. |
| <a name="output_vpn_site_device_model"></a> [vpn\_site\_device\_model](#output\_vpn\_site\_device\_model) | The device model for the VPN Site. |
| <a name="output_vpn_site_device_vendor"></a> [vpn\_site\_device\_vendor](#output\_vpn\_site\_device\_vendor) | The device vendor for the VPN Site. |
| <a name="output_vpn_site_id"></a> [vpn\_site\_id](#output\_vpn\_site\_id) | The ID of the VPN Site. |
| <a name="output_vpn_site_link"></a> [vpn\_site\_link](#output\_vpn\_site\_link) | The link block of the VPN Site. |
| <a name="output_vpn_site_name"></a> [vpn\_site\_name](#output\_vpn\_site\_name) | The name of the VPN Site. |
| <a name="output_vpn_site_o365_policy"></a> [vpn\_site\_o365\_policy](#output\_vpn\_site\_o365\_policy) | The O365 policy for the VPN Site. |
| <a name="output_vpn_site_virtual_wan_id"></a> [vpn\_site\_virtual\_wan\_id](#output\_vpn\_site\_virtual\_wan\_id) | The ID of the Virtual WAN that the VPN Site is associated with. |
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
30 changes: 30 additions & 0 deletions azure_vpn/vpn_site/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,37 @@ output "vpn_site_id" {
value = azurerm_vpn_site.this.id
}

output "vpn_site_name" {
description = "The name of the VPN Site."
value = azurerm_vpn_site.this.name
}

output "vpn_site_virtual_wan_id" {
description = "The ID of the Virtual WAN that the VPN Site is associated with."
value = azurerm_vpn_site.this.virtual_wan_id
}

output "vpn_site_link" {
description = "The link block of the VPN Site."
value = azurerm_vpn_site.this.link
}

output "vpn_site_address_cidrs" {
description = "The list of address CIDRs for the VPN Site."
value = azurerm_vpn_site.this.address_cidrs
}

output "vpn_site_device_model" {
description = "The device model for the VPN Site."
value = azurerm_vpn_site.this.device_model
}

output "vpn_site_device_vendor" {
description = "The device vendor for the VPN Site."
value = azurerm_vpn_site.this.device_vendor
}

output "vpn_site_o365_policy" {
description = "The O365 policy for the VPN Site."
value = azurerm_vpn_site.this.o365_policy
}

0 comments on commit b4c47ac

Please sign in to comment.