Is it possible to get an ImmutableDictionary<s...
# dotnet
b
Is it possible to get an ImmutableDictionary<string, string> from a StackReference? If so how? I output Subnets as an ImmutableDictionary<string, string> and I want to read the Subnet.Id value based on key-name (dev, test, prod). StackRef.RequireOutput returns Output<object> not Output<T>.
Copy code
{
  "dev": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/spoke-dev-rg-00000/providers/Microsoft.Network/virtualNetworks/spoke-dev-vnet-00000000/subnets/development"
}