This message was deleted.
# dotnet
s
This message was deleted.
f
I tried creating an Output field for the class and calling RegisterOutputs but that causes pulumi to panic.
t
I’ll be updating examples and template this week, sorry for lacking on this
f
Ah cool, that did the trick. Thanks for the quick reply!
Is it possible to make a dictionary an output?
Copy code
[Output]
public Output<Dictionary<string, string>> VmInformation { get; private set; }= null!;
I have a dynamic amount of VMs and want to return the IPs
when I run it with that I get a panic
well a .net exception
t
It must be immutable
Output<ImmutableDictionary<string, string>>
f
ah okay. I should have looked closer cause it said it right in the exception 😅