What’s the correct way to display some values from...
# general
h
What’s the correct way to display some values from output in JS? For example, I created an AWS resource and want to print out its target URL
b
Hi Joshua, that's what outputs are for. In this example you can see at the bottom of the file we're displaying the values for the EC2 instance's public IP address and public DNS record
h
Ah ok, you export. Thanks.
r
If you do just want to print an Output without exporting it, you'll have to do that within an apply like.
resource.property.apply(console.log)