From 57754b5a71a1fc2061b1117cf17dbb1d57507b3a Mon Sep 17 00:00:00 2001 From: Jameel Al-Aziz Date: Fri, 10 Oct 2014 15:33:26 -0700 Subject: [PATCH] Fix security_token typo in ec2 inventory --- contrib/inventory/ec2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/inventory/ec2.py b/contrib/inventory/ec2.py index 7b0c7efeb55..98a5df06013 100755 --- a/contrib/inventory/ec2.py +++ b/contrib/inventory/ec2.py @@ -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