i have a proble, i used pulumi with aws and create...
# general
l
i have a proble, i used pulumi with aws and create a clusterCache (redis) the script its working, but i need to get the url of redis to push to the other settings in my app in a form dinamic ¿Do you know how to resolve that problema? Add my example
b
@loud-river-79607 it would be:
Copy code
example.cacheNodes[0].address
also, you can't
console.log
an output, you need to export it:
Copy code
export const example
l
ooo thanks, let me check 🙂
i executed the script again
i have the next output
I cant see the url in plain text 😞
b
can you me your code?
l
of course
b
just a reminder, you CANNOT console.log an output
change the last
console.log
to this:
Copy code
export const redisUrl = example.cacheNodes[0].address
l
ooo ok cool thanks
let me validate 🙂
Thank you