mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Support 17-character IDs
This commit is contained in:
parent
05d05263ab
commit
a95fbff4bc
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