https://pulumi.com logo
#general
Title
# general
s

some-art-311

11/26/2019, 7:36 PM
Hello, does anyone know how to convert
Output<String>
to
string
? for example
Copy code
const eksClusterName = eksInfra.requireOutput("eksClusterName"); // This line returns Output<string>
pulumi.log.debug(eksClusterName) // How to let this line work?
t

tall-librarian-49374

11/26/2019, 8:53 PM
In general case, it's not possible. In your example, you could use
requireOutputSync
instead, if your output is not a secret.
s

some-art-311

11/26/2019, 9:45 PM
thanks
w

worried-city-86458

11/27/2019, 1:38 AM
2 Views