alert-mouse-36715
04/19/2021, 6:41 PMvar virtualWan = new VirtualWan(Names.Network.Global.WanName, new VirtualWanArgs
{
VirtualWANName = Names.Network.Global.WanName,
Location = Names.Network.Global.AzureLocation,
ResourceGroupName = wanRg.Name,
Tags =
{
{ "Product", Names.General.ProductName },
{ "Service", Names.General.Services.Network },
{ "Region", Names.General.RegionNames.Global }
},
Type = "Basic",
AllowVnetToVnetTraffic = true,
DisableVpnEncryption = false
}, globalOptions);
var vhub = new VirtualHub(region.VHubName, new VirtualHubArgs
{
AddressPrefix = region.AddressPrefix,
ResourceGroupName = rg.Name,
Location = region.AzureLocation,
Sku = "Basic",
VirtualWan = new Pulumi.AzureNative.Network.Inputs.SubResourceArgs
{
Id = virtualWan.Id // <---- here
},
Tags =
{
{ "Product", Names.General.ProductName },
{ "Service", Names.General.Services.Network },
{ "Region", region.RegionName }
},
VirtualHubName = region.VHubName
}, options);
I'm using pulumi v2.25.2.
Has there something changed? I did not spot anything in the docs...
Thanks!tall-librarian-49374
04/19/2021, 6:44 PMalert-mouse-36715
04/19/2021, 6:52 PMtall-librarian-49374
04/19/2021, 6:54 PMalert-mouse-36715
04/19/2021, 7:02 PMtall-librarian-49374
04/20/2021, 5:49 AM