-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathterraform.tfvars
27 lines (24 loc) · 2.49 KB
/
terraform.tfvars
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
application_details = {
name = "myawesomeapp" # The name of the application for which the spoke network is deployed.
environment = "dev" # The environment of the application, e.g. dev, qas, prd.
location = "westeurope" # The Azure region in which the application will be deployed.
}
hub_details = {
hub_vnet_name = "vnet-hub" # The name of the hub vnet.
hub_vnet_resource_group_name = "rg-hub" # The resource group name in which the hub vnet is deployed.
hub_dns_resource_group_name = "rg-hub" # The resource group name in which the hub dns is deployed.
}
vnet_peering_hub_to_spoke = {
peer_hub_to_spoke = true # Peer the hub vnet to spoke vnets?
allow_virtual_network_access = true # Controls if the VMs in the remote virtual network can access VMs in the local virtual network. Defaults to true.
allow_forwarded_traffic = false # Controls if forwarded traffic from VMs in the remote virtual network is allowed. Defaults to false.
allow_gateway_transit = false # Controls gatewayLinks can be used in the remote virtual network’s link to the local virtual network. Defaults to false.
use_remote_gateways = false # Controls if remote gateways can be used on the local virtual network. If the flag is set to true, and allow_gateway_transit on the remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway. Defaults to false.
}
vnet_peering_spoke_to_hub = {
peer_spoke_to_hub = true # Peer the spoke vnets to hub?
allow_virtual_network_access = true # Controls if the VMs in the remote virtual network can access VMs in the local virtual network. Defaults to true.
allow_forwarded_traffic = false # Controls if forwarded traffic from VMs in the remote virtual network is allowed. Defaults to false.
allow_gateway_transit = false # Controls gatewayLinks can be used in the remote virtual network’s link to the local virtual network. Defaults to false.
use_remote_gateways = false # Controls if remote gateways can be used on the local virtual network. If the flag is set to true, and allow_gateway_transit on the remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway. Defaults to false.
}