sparse-intern-71089
12/19/2022, 12:47 PMancient-policeman-24615
12/19/2022, 1:46 PMOutput<string>
, and you can’t call toString()
or toJSON()
on outputs. Output<T>
is are similar to a promise, in that it represents a value that might not be present. Because an Output<T>
might not ever resolve (for example, during pulumi preview
), it can’t be awaited. You need to put whatever needs a raw string
inside an apply
.