mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Remove explicit version from instance identity URL
This commit is contained in:
parent
10af22775a
commit
1f18f4f91e
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ def get_iam_region(version='latest', url='http://169.254.169.254',
|
|||
'''
|
||||
Gets instance identity document and returns region
|
||||
'''
|
||||
instance_identity_url = '{0}/{1}/latest/dynamic/instance-identity/document'.format(url, version)
|
||||
instance_identity_url = '{0}/{1}/dynamic/instance-identity/document'.format(url, version)
|
||||
|
||||
region = None
|
||||
try:
|
||||
|
|
Loading…
Add table
Reference in a new issue