sparse-intern-71089
06/01/2021, 3:21 PMbillowy-army-68599
bored-oyster-3147
06/01/2021, 3:48 PMawait
and Output<T>
. Currently there exists some variation of Output<T>.GetValueAsync
that you can await in most of the SDK implementations but it may not be exposed the way you would like. Some discussion here: https://github.com/pulumi/pulumi/issues/6374
As for being declarative versus functional, I agree that in some scenarios the latter would be better than the former. For instance if your code looked like:
var stack = new Stack();
var bucket = new Aws.S3.Bucket(...);
stack.Add(bucket);
Would solve a fair amount of internal problems related to statically detecting the declared bucket implicitly. But obviously has trade-offs of its own and is a large architectural change so 🤷♂️