Skip to content

Commit

Permalink
Merge pull request #30553 from techhat/awsid
Browse files Browse the repository at this point in the history
AWS: Support 17-character IDs
  • Loading branch information
Mike Place committed Jan 22, 2016
2 parents 05d0526 + a95fbff commit f63b183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/cloud/clouds/ec2.py
Expand Up @@ -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:
Expand Down

0 comments on commit f63b183

Please sign in to comment.