Closed superandrew closed 8 years ago
I am trying to make ec2-automate-backup with tags, to no avail.
What I've done:
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
./ec2-automate-backup.sh -s tag -t "Backup=true"
./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
--filters Name=tag:Backup=true
Is there anything I am missing or is it a bug?
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?
-s tag -t "Backup=true"
I am trying to make ec2-automate-backup with tags, to no avail.
What I've done:
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?