I am just passing on a C# coding tip in this post. The conventional styles of declaring a resource stack in Pulumi/C# trigger information messages from the compiler about an unused instance or unnecessary assignment. Today I discovered a new (to me) C# feature called a discard, using this results in a happy compiler. The underscore in the code below is the syntax for a discard.
// new AzureNative.DocumentDB.SqlResourceSqlDatabase(
// var db = new AzureNative.DocumentDB.SqlResourceSqlDatabase(
_ = new AzureNative.DocumentDB.SqlResourceSqlDatabase(...