mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix security_token typo in ec2 inventory
This commit is contained in:
parent
e7890e66f3
commit
57754b5a71
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue