Do NOT use this in any ENVIRONMENT(PRD/Dev/Tst/Uat) without making required changes to sensitive data
Feel free to provide any suggestions or possible improvements with a PR which can benefit someone trying similar
Name | Version |
---|---|
aws | ~> 3.0 |
Name | Version |
---|---|
aws | 3.75.2 |
No modules.
Name | Type |
---|---|
aws_customer_gateway.customer_gateway | resource |
aws_vpc.vpc | resource |
aws_vpn_connection.main | resource |
aws_vpn_gateway.vpn_gateway | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
public_ip_address_gw | n/a | list(string) |
[ |
no |
tunnel1_inside_cidr | n/a | list |
[ |
no |
tunnel1_preshared_key | n/a | list |
[ |
no |
tunnel2_inside_cidr | n/a | list |
[ |
no |
tunnel2_preshared_key | n/a | list |
[ |
no |
No outputs.
Name | Version |
---|---|
azurerm | =2.77.0 |
Name | Version |
---|---|
azurerm | 2.77.0 |
No modules.
Name | Type |
---|---|
azurerm_local_network_gateway.localgw | resource |
azurerm_public_ip.example | resource |
azurerm_resource_group.example | resource |
azurerm_subnet.example | resource |
azurerm_virtual_network.example | resource |
azurerm_virtual_network_gateway.example | resource |
azurerm_virtual_network_gateway_connection.az-hub-onprem | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
client_id | n/a | string |
"add your SP details here" |
no |
client_secret | n/a | string |
"add your SP details here" |
no |
express_route_circuit_id | The ID of the Express Route Circuit when creating an ExpressRoute connection | any |
null |
no |
gateway_connection_protocol | The IKE protocol version to use. Possible values are IKEv1 and IKEv2. Defaults to IKEv2 | string |
"IKEv2" |
no |
gateway_connection_type | The type of connection. Valid options are IPsec (Site-to-Site), ExpressRoute (ExpressRoute), and Vnet2Vnet (VNet-to-VNet) | string |
"IPsec" |
no |
local_bgp_settings | Local Network Gateway's BGP speaker settings | list(object({ asn_number = number, peering_address = string, peer_weight = number })) |
[ |
no |
local_networks | n/a | list(object({ local_gw_name = string, local_gateway_address = string, local_address_space = list(string), shared_key = string })) |
[ |
no |
local_networks_ipsec_policy | IPSec policy for local networks. Only a single policy can be defined for a connection. | any |
null |
no |
peer_virtual_network_gateway_id | The ID of the peer virtual network gateway when creating a VNet-to-VNet connection | any |
null |
no |
subscription_id | n/a | string |
"add your SP details here" |
no |
tenant_id | n/a | string |
"add your SP details here" |
no |
vpn_gw_sku | Configuration of the size and capacity of the virtual network gateway. Valid options are Basic, VpnGw1, VpnGw2, VpnGw3, VpnGw4,VpnGw5, VpnGw1AZ, VpnGw2AZ, VpnGw3AZ,VpnGw4AZ and VpnGw5AZ and depend on the type, vpn_type and generation arguments | string |
"VpnGw1" |
no |
Name | Description |
---|---|
public_ip_address_gw | n/a |