sparse-intern-71089
02/05/2020, 11:10 PMcareful-market-30508
02/05/2020, 11:25 PMurl = Output.all([server.username, server.password]).apply(lambda l: f"http://{l[0]}:{l[1]}/")
But Is there a way to dump the whole server object and its fields?gorgeous-egg-16927
02/05/2020, 11:27 PMurl = server_object.apply(lambda l: pprint(vars(l)))
gorgeous-egg-16927
02/05/2020, 11:29 PMpulumi stack export
careful-market-30508
02/05/2020, 11:32 PMcareful-market-30508
02/05/2020, 11:33 PMcareful-market-30508
02/05/2020, 11:36 PMgorgeous-egg-16927
02/06/2020, 12:39 AMpulumi.Output(server_object).apply(...)
It may not work during preview, as some of the values may not have been resolved yet. The export should also work.gorgeous-egg-16927
02/06/2020, 12:39 AM