Commit 57754b5a by Jameel Al-Aziz Committed by Abhijit Menon-Sen

Fix security_token typo in ec2 inventory

parent e7890e66
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment