better-noon-15962
09/24/2021, 11:58 AM[OutputTypeAttribute]
and [OutputConstructorAttribute]
(c#) ?
I'm looking to output stuff in hierarchy. Ex:
{
logging: {
AppInsights: {
InstrumentationKey: "...",
},
...<other logging stuff>
},
... <other stuff>
}
Using ImmutableDictionnary seem to display secrets when executing `pulumi output`😞
Thanks!green-stone-37839
09/24/2021, 9:40 PMdotnet
provider currently does not support outputs of user-defined (POCO) types. There is an on-going github issue tracking this effort and please give it an upvote, if you'd like to see this feature.
There are a few workarounds that can accomplish what you're trying to do, mainly serializing an object to JSON string and outputting the string.better-noon-15962
09/27/2021, 8:03 PM