I am using aws-cli
and I need the list of all instance and the volumes associated with them.
instance-name,instance-id,volumes-associated
describe-instances
and describe-volumes
are different way to list instances and volumes. But I need a consolidated list as in the above format.
There could be multiple volumes associated with one instance.
Best Answer
This command will output:
EBS Volume ID
There might be multiple EBS volumes associated with an instance.