https://pulumi.com logo
Title
g

glamorous-lifeguard-90201

07/02/2021, 12:09 AM
I have the following piece of code (taken from pulumi/examples/azure-ts-webserver): const networkInterface = new network.NetworkInterface(“server-nic”, { resourceGroupName, ipConfigurations: [{ name: “webserveripcfg”, subnet: { id: virtualNetwork.subnets[0].id }, privateIPAllocationMethod: network.IPAllocationMethod.Dynamic, publicIPAddress: { id: publicIp.id }, }], }); and it results in the error below. Someone can help me to understand how I should solve this?