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

prehistoric-activity-61023

11/04/2021, 4:12 PM
Just playing with
pulumi import
(btw, I might have discovered a small bug but first need to run some tests to make sure it’s something worth reporting) and I came across one issue: is it possible to simply list all defined resources with their URNs (so I can remove them using
pulumi state delete
) or the only way to do that right now is to manually parse
pulumi stack export
? EDIT: the answer is
pulumi stack --show-urns
Do I miss something here? It’s not like parsing this JSON is a rocket science but I’m missing
terraform state list
here. If such feature doesn’t exist in CLI yet, how about adding
pulumi state list
?
nvm - found it!
Copy code
pulumi stack --show-urns
✔️ 1