aws-cli
aws-cli copied to clipboard
--instance-id is an unknown option to describe-volumes
root@slave ~> echo $AWS_INSTANCE_ID
i-b80906b3
root@slave ~> aws ec2 describe-volumes --instance-id i-b80906b3
Unknown options: --instance-id, i-b80906b3
Here is my version info (CentOS 6.5, EPEL 6, Python pip)
root@slave ~> aws ec2 --version
aws-cli/1.4.4 Python/2.6.6 Linux/2.6.32-431.29.2.el6.x86_64
aws ec2 describe-volumes synopsis only has the following:
[--dry-run | --no-dry-run]
[--volume-ids
You'll need to query the instance for it's volume (try aws ec2 describe-instance-attribute --instance-id i-b80906b3 --attribute blockDeviceMapping) , then pass --volume-ids to the above command
Don't know what the heck I was looking at. And it's not even a Monday.