mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #30553 from techhat/awsid
AWS: Support 17-character IDs
This commit is contained in:
commit
f63b183e43
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue