https://pulumi.com logo
Title
d

delightful-computer-48592

11/15/2022, 2:47 PM
Hello 👋 I would like to know if is possible in Pulumi CLI to filter by NAME the output of the following command:
pulumi stack --show-urns
I’m getting in the output something like this:
TYPE                                                             NAME
    pulumi:pulumi:Stack                                              infra
    │  URN: urn:pulumi:xxxx
    ├─ pulumi:providers:aws                                          cluster
    │     URN: urn:pulumi:xxxx
    ├─ pulumi:providers:aws                                          default
    │     URN: urn:pulumi:xxxx
    ├─ infra:k8s-cluster-v2                                          cluster-2
    │  │  URN: urn:pulumi:xxxx
and I would like to get results only by
NAME=cluster
. Is it possible to do it without using a third-party tool like grep, sed, etc?
b

billowy-army-68599

11/15/2022, 3:07 PM
not at the moment, feel free to open an issue in github.com/pulumi/pulumi
d

delightful-computer-48592

11/15/2022, 3:09 PM
Thanks for the answer, I will add this request.