mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Issue #27121 - Attempt to fix missing credentials when modifying eni properties
This commit is contained in:
parent
5d292a221e
commit
c58e7a00f3
1 changed files with 9 additions and 1 deletions
|
@ -1299,7 +1299,15 @@ def _modify_eni_properties(eni_id, properties=None):
|
|||
while retries > 0:
|
||||
retries = retries - 1
|
||||
|
||||
result = query(params, return_root=True)
|
||||
# result = query(params, return_root=True)
|
||||
|
||||
result = aws.query(params,
|
||||
return_root=True,
|
||||
location=get_location(),
|
||||
provider=get_provider(),
|
||||
opts=__opts__,
|
||||
sigver='4')
|
||||
|
||||
if isinstance(result, dict) and result.get('error'):
|
||||
time.sleep(1)
|
||||
continue
|
||||
|
|
Loading…
Add table
Reference in a new issue