From 96843fdfe8083f69dc5b10533691e7dd6839827b Mon Sep 17 00:00:00 2001 From: Christian Wittwer Date: Thu, 5 Jun 2014 10:51:45 +0200 Subject: [PATCH] Attribute instance-id added to filter dict --- moto/ec2/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/moto/ec2/utils.py b/moto/ec2/utils.py index b41d172f5..0e3d30990 100644 --- a/moto/ec2/utils.py +++ b/moto/ec2/utils.py @@ -175,7 +175,8 @@ def keypair_names_from_querystring(querystring_dict): filter_dict_attribute_mapping = { - 'instance-state-name': 'state' + 'instance-state-name': 'state', + 'instance-id': 'id' }