Skip to content

Instantly share code, notes, and snippets.

@CodeFreezr
Last active September 24, 2019 17:21
Show Gist options
  • Save CodeFreezr/41e6f419808f8ef456c61fe1500ff86a to your computer and use it in GitHub Desktop.
Save CodeFreezr/41e6f419808f8ef456c61fe1500ff86a to your computer and use it in GitHub Desktop.
Get Total-Volume-Sizes of all Snapshots together
aws ec2 describe-snapshots --owner-ids self | jq '[.Snapshots[].VolumeSize] | add'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment