You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"azurestack_virtual_network_gateway" {
source="./modules/azurestack/r/azurestack_virtual_network_gateway"# default_local_network_gateway_id - (optional) is a type of stringdefault_local_network_gateway_id=null# enable_bgp - (optional) is a type of boolenable_bgp=null# location - (required) is a type of stringlocation=null# name - (required) is a type of stringname=null# resource_group_name - (required) is a type of stringresource_group_name=null# sku - (required) is a type of stringsku=null# tags - (optional) is a type of map of stringtags={}
# type - (required) is a type of stringtype=null# vpn_type - (optional) is a type of stringvpn_type=nullbgp_settings=[{
asn =null
peer_weight =null
peering_address =null
}]
ip_configuration=[{
name =null
private_ip_address_allocation =null
public_ip_address_id =null
subnet_id =null
}]
vpn_client_configuration=[{
address_space = []
revoked_certificate = [{
name =null
thumbprint =null
}]
root_certificate = [{
name =null
public_cert_data =null
}]
vpn_client_protocols = []
}]
}
resource"azurestack_virtual_network_gateway""this" {
# default_local_network_gateway_id - (optional) is a type of stringdefault_local_network_gateway_id=var.default_local_network_gateway_id# enable_bgp - (optional) is a type of boolenable_bgp=var.enable_bgp# location - (required) is a type of stringlocation=var.location# name - (required) is a type of stringname=var.name# resource_group_name - (required) is a type of stringresource_group_name=var.resource_group_name# sku - (required) is a type of stringsku=var.sku# tags - (optional) is a type of map of stringtags=var.tags# type - (required) is a type of stringtype=var.type# vpn_type - (optional) is a type of stringvpn_type=var.vpn_typedynamic"bgp_settings" {
for_each=var.bgp_settingscontent {
# asn - (optional) is a type of numberasn=bgp_settings.value["asn"]
# peer_weight - (optional) is a type of numberpeer_weight=bgp_settings.value["peer_weight"]
# peering_address - (optional) is a type of stringpeering_address=bgp_settings.value["peering_address"]
}
}
dynamic"ip_configuration" {
for_each=var.ip_configurationcontent {
# name - (optional) is a type of stringname=ip_configuration.value["name"]
# private_ip_address_allocation - (optional) is a type of stringprivate_ip_address_allocation=ip_configuration.value["private_ip_address_allocation"]
# public_ip_address_id - (optional) is a type of stringpublic_ip_address_id=ip_configuration.value["public_ip_address_id"]
# subnet_id - (required) is a type of stringsubnet_id=ip_configuration.value["subnet_id"]
}
}
dynamic"vpn_client_configuration" {
for_each=var.vpn_client_configurationcontent {
# address_space - (required) is a type of list of stringaddress_space=vpn_client_configuration.value["address_space"]
# vpn_client_protocols - (optional) is a type of set of stringvpn_client_protocols=vpn_client_configuration.value["vpn_client_protocols"]
dynamic"revoked_certificate" {
for_each=vpn_client_configuration.value.revoked_certificatecontent {
# name - (required) is a type of stringname=revoked_certificate.value["name"]
# thumbprint - (required) is a type of stringthumbprint=revoked_certificate.value["thumbprint"]
}
}
dynamic"root_certificate" {
for_each=vpn_client_configuration.value.root_certificatecontent {
# name - (required) is a type of stringname=root_certificate.value["name"]
# public_cert_data - (required) is a type of stringpublic_cert_data=root_certificate.value["public_cert_data"]
}
}
}
}
}