https://pulumi.com logo
Title
l

lemon-machine-35564

03/12/2021, 3:51 PM
Is there anyone out there who DOESN’T deal with
Type 'Output<string>' is not assignable to type 'string'.
every single day? 😄
🤣 2
d

damp-school-17708

03/12/2021, 3:55 PM
it's annoying isn't it, I almost wrote a question about it earlier then I managed to get out troubles :D
😅 2
a

adorable-musician-67025

03/12/2021, 4:15 PM
Yes it is. Today we had couple of cases when it would be much easier to have it as String
There are helper methods like Output.concat but the still return Output object which isn't reachable outside custom provider
d

damp-school-17708

03/12/2021, 4:25 PM
I usually solve with pulumi.all (...).apply(...) are there any better ways?
a

adorable-musician-67025

03/12/2021, 4:42 PM
Not any I would be aware of.
But .apply doesn't help with printing stuff in
___main___.py
👍 1
r

red-match-15116

03/12/2021, 9:25 PM
Does
.apply(lambda x: print(x))
not work for that?