[output] takes any Input value and converts it into an Output, deeply unwrapping nested Input
values as necessary.
The expected way to use this function is like so:
vartransformed = pulumi.output(someVal).apply(unwrapped=> { // Do whatever you want now. 'unwrapped' will contain no outputs/promises inside // here, so you can easily do whatever sort of transformation is most convenient. });
// the result can be passed to another Resource. The dependency information will be // properly maintained. varsomeResource = newSomeResource(name, { data:transformed ... });
[output] takes any Input value and converts it into an Output, deeply unwrapping nested Input values as necessary.
The expected way to use this function is like so: