mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Fix security_token typo in ec2 inventory
This commit is contained in:
committed by
Abhijit Menon-Sen
parent
e7890e66f3
commit
57754b5a71
@@ -435,7 +435,7 @@ class Ec2Inventory(object):
|
||||
''' monkey patch for boto issue boto/boto#2100 '''
|
||||
profile = 'profile ' + self.boto_profile
|
||||
if boto.config.has_option(profile, 'aws_security_token'):
|
||||
connect_args['secuirty_token'] = boto.config.get(profile, 'aws_security_token')
|
||||
connect_args['security_token'] = boto.config.get(profile, 'aws_security_token')
|
||||
return connect_args
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user