mirror of
https://github.com/autistic-symposium/shell-whiz-toolkit.git
synced 2025-06-05 21:49:13 -04:00
add things resources from the last 5 years over machines
This commit is contained in:
parent
ac9c955e0b
commit
b0a4e417ee
77 changed files with 2327 additions and 84 deletions
13
gcloud/get_gcp_apps.sh
Executable file
13
gcloud/get_gcp_apps.sh
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
projects=$(gcloud projects list | tail -n +2 | awk '{ print $1}')
|
||||
|
||||
list_app () {
|
||||
gcloud app services list --project $1 2>&1 | grep -v ERROR
|
||||
}
|
||||
|
||||
for x in $projects;
|
||||
do
|
||||
list_app $x
|
||||
done
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue