early-analyst-76866
11/15/2022, 3:06 PMimport pulumi
stack_ref = pulumi.StackReference("inline_s3_project/dev")
obj = {"website_url": stack_ref.get_output("website_url").apply(
lambda s3_url: "https://" + s3_url
)}
print(obj)
The output that I am getting still shows me the object and not the value:
{'website_url': <pulumi.output.Output object at 0x109f9f2b0>}
brave-planet-10645
11/15/2022, 4:47 PMapply()
is still an output.
To get the entire object you could do:
print(Output.format("{0}",obj))
and I think that will do what you want