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

melodic-tent-12974

10/25/2021, 6:58 PM
Hi this is a question about
pulumi stack output
. I have a JSON property and want to get at a leaf node. Can this be done directly with
pulumi stack output
? I want to do something like
pulumi stack output root.tree.subtree.leaf
but that doesn’t work. I can do it myself like
pulumi stack output root | jq .tree.subtree.leaf
but I feel like that is just a workaround.
r

red-match-15116

10/25/2021, 7:41 PM
Yeah, this is not currently supported by the
pulumi
cli directly so what you’re doing is the way to do it
2 Views