This message was deleted.
# general
s
This message was deleted.
l
You could download the stack in json format and pipe it through jq, uniq and a few other snippets? It's not a feature of Pulumi that I've come across...
Or... you could add a stack transformation that writes to pulumi.log... if you check the urn of all resources for "aws" (or "azure" or whatever), you'd probably get really close to "all resources"....
f
Thank you. Yeah I had thought about some of those options but was definitely wondering if there was some built-in way to do it.
l
Not as far as I'm aware. You can add
--show-sames
to your
pulumi preview
, but you won't get as much info that way (e.g. no URNs).
And there's no way to discriminate between cloud resources and pulumi resources like stacks, stack outputs and stack references.
You would have to parse the URNs for that.