cloudavail / aws-missing-tools

tools for managing AWS resources including EC2, EBS, RDS, IAM, CloudFormation and Route53.
1.34k stars 406 forks source link

tags not working? #135

Closed superandrew closed 8 years ago

superandrew commented 8 years ago

I am trying to make ec2-automate-backup with tags, to no avail.

What I've done:

  1. Tagged the volumes
  2. checked that in some way I could retrieve them by tag: aws ec2 describe-volumes --filters Name=tag-key,Values="Backup" Name=tag-value,Values="true"

This way it works, I get back two ebs volumes

when I execute ./ec2-automate-backup.sh -s tag -t "Backup=true" or ./ec2-automate-backup.sh -s tag -t Backup,Values=true

I get nothing. I've printed the $ebs_selection_string, which is: --filters Name=tag:Backup=true

Is there anything I am missing or is it a bug?

superandrew commented 8 years ago

update: this way it works:

./ec2-automate-backup.sh -r eu-west-1 -s tag -t Backup,Values=true

So I guess the documentations stating -s tag -t "Backup=true" must be updated maybe?