bright-sandwich-93783
06/29/2021, 7:33 PMApply
function doesn't return a raw string. how can I do this? Small go snippet would be awesome.Apply
function. Apply is mostly just used to transform `pulumi.StringOutput`sbrash-match-91530
06/30/2021, 1:54 PMvar str string
var wg sync.WaitGroup
wg.Add(1)
myPulumiOutput.ApplyT(func(s string) error {
defer wg.Done()
str = s
return nil
})
wg.Wait()
It's from my phone so expect lots of errors, but that's the general ideabright-sandwich-93783
06/30/2021, 11:03 PMeager-vase-43200
10/05/2021, 12:46 AM