Skip to content

gnuru/awsVolumes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

awsVolumes

List and delete available AWS volumes.

Requirements

  • aws cli tools installed, and credentials configured.
  • jq json parser

Configuration.

Uses date format to specify age: ageDate=date --date="5 weeks ago" ageTicks=date --date="5 weeks ago" +%s

Typical Output:

$ ./delOldVolumes.sh Volumes older than Wed Feb 15 05:17:45 UTC 2017 TO Delete volid: vol-00a8407XXYYzz001154, Thu Feb 9 06:12:00 UTC 2017 ( 2017-02-09T06:12:00.498Z )

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages