white-terabyte-21934
06/02/2022, 7:36 AMpulumi.output.Output object
.
• Would like to print these values via a print statement (like terraform output format) ,what is the best way to fetch the value via Ouput() method ?billowy-army-68599
apply
) because previews won't be accurate.
if you want to extract the resolved property of an output (what you call raw) you would use an apply
if you want to just print them, again, just use an apply. if you want to print them to console, use pulumi.export
white-terabyte-21934
06/03/2022, 9:06 AMprint (f"xxx_{random_string().result") ==> Would want to use the value as raw , not with in a lambda with a function return or an assigned variable than can parse to next function or class object calls
billowy-army-68599
white-terabyte-21934
06/03/2022, 10:19 AM