Last active
January 27, 2022 17:21
-
-
Save alexandreroman/612ee95c6a5b8d41c6ab97a1cfcd4cdb to your computer and use it in GitHub Desktop.
Delete unused compute disks on GCP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gcloud compute disks delete `gcloud compute disks list --filter="-users:*" --format "value(name)"` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment