This message was deleted.
# general
s
This message was deleted.
g
That is the only built-in way - via
pulumi stack output <output-name>
. You could mark the output as secret to prevent the extra "clutter" during normal operations and then access secret outputs with
pulumi stack output <output-name> --show-secrets
.
Alternatively you could use https://stedolan.github.io/jq/ to access arbitrary resource data - e.g.:
Copy code
pulumi stack export | jq '.deployment.resources[] | select(.urn=="<resource-urn>")'
a
that's a great suggestion! will give it a try...
👍 1
update: your suggestion work quite well @gentle-diamond-70147, although I had to add --show-secrets in order for it to decrypt the secret properties. But that's okay. I'll also have to write a script to parse through the json element and append the desired outputs into a table, but that's also simply done 🙂. Anyway, I really appreciate the suggestion