maybe a simpler question: I try to convert an outp...
# python
k
maybe a simpler question: I try to convert an output to a simple string and I got a bit confused after trying so many ways. I got know: selected_rcg_name = selected_rcg.name.apply(lambda name: str(name)) print(type(selected_rcg_name)) but: <class 'pulumi.output.Output'>
f
You could do this
selected_rcg.name.apply(lambda name: print(name))
The value is only resolved within the lambda