Merge pull request #30553 from techhat/awsid

AWS: Support 17-character IDs
This commit is contained in:
Mike Place 2016-01-22 11:41:46 -07:00
commit f63b183e43

View file

@ -3104,7 +3104,7 @@ def _get_node(name=None, instance_id=None, location=None):
params = {'Action': 'DescribeInstances'}
if str(name).startswith('i-') and len(name) == 10:
if str(name).startswith('i-') and (len(name) == 10 or len(name) == 19):
instance_id = name
if instance_id: