bored-activity-40468
07/15/2020, 12:55 AM.Apply(func)
which feels sort of like .ContinueWith(func)
which is what async await tries to avoid, I think.tall-librarian-49374
07/15/2020, 6:11 AMStack
class or pass a function to RunAsync
, both will work including outputs.bored-activity-40468
07/15/2020, 1:40 PMtall-librarian-49374
07/15/2020, 1:42 PMbored-activity-40468
07/15/2020, 1:44 PMtall-librarian-49374
07/15/2020, 1:47 PMbored-activity-40468
07/15/2020, 1:50 PMtall-librarian-49374
07/15/2020, 1:53 PMbored-activity-40468
07/15/2020, 2:04 PM[Output] public StackSubnets {get; set]
tall-librarian-49374
07/15/2020, 2:34 PMsubnets
should be Output<ImmutableArray<string>>
. Also, you don’t need to make subnets the output of your stack, just declare a local variable.Subnets = subnets
should work then