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

fast-dinner-32080

04/17/2020, 10:26 PM
Well came up with this command but wondering if there is a built in way.
pulumi stack ls | grep "*" | awk '{print $1}' | sed 's/\*//g'
a

acceptable-stone-35112

04/18/2020, 8:36 AM
maybe a bit more structured:
Copy code
pulumi stack ls -j | jq '.[] | select(.current== true).name'