diff --git a/moto/ec2/models.py b/moto/ec2/models.py index 377699164..df89be4ce 100644 --- a/moto/ec2/models.py +++ b/moto/ec2/models.py @@ -1255,6 +1255,10 @@ class Volume(object): else: return 'available' + def get_tags(self): + tags = ec2_backend.describe_tags(filters={'resource-id': [self.id]}) + return tags + class Snapshot(object): def __init__(self, snapshot_id, volume, description): diff --git a/moto/ec2/responses/elastic_block_store.py b/moto/ec2/responses/elastic_block_store.py index 868cf2215..93009294b 100644 --- a/moto/ec2/responses/elastic_block_store.py +++ b/moto/ec2/responses/elastic_block_store.py @@ -132,6 +132,16 @@ DESCRIBE_VOLUMES_RESPONSE = """