Reputation: 961
I know I can:
gcloud projects list
However, this does not show projects pending deletion. How can list those as well?
Upvotes: 1
Views: 897
Reputation: 1237
If you want to just filter:
gcloud projects list --filter='lifecycleState:DELETE_REQUESTED' [--format yaml|json]
PROJECT_ID NAME PROJECT_NUMBER
my-project-deleteme-298812 My Project DELETEME 1033904603578
Note this is also in the help function of gcloud projects list --help
Upvotes: 1