Skip to content

Instantly share code, notes, and snippets.

@palashkulsh
Created September 8, 2022 12:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save palashkulsh/e5e6225a866a82dc6ca54b7786ec5ee5 to your computer and use it in GitHub Desktop.
Save palashkulsh/e5e6225a866a82dc6ca54b7786ec5ee5 to your computer and use it in GitHub Desktop.
ebs snapshot
aws ec2 describe-snapshots --filters Name=tag:Techteam,Values=mall-cart | jq '.Snapshots[] | "\(.SnapshotId),\(.VolumeId),\(.StartTime),\(.VolumeSize),\(.Tags[] | select(.Key=="Hostname") | .Value),\(.Description)"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment