From 4acc8375325d17433d0563e2f88f705988e27533 Mon Sep 17 00:00:00 2001
From: Sean Smith <seaam@amazon.com>
Date: Thu, 23 Aug 2018 11:51:50 -0700
Subject: [PATCH] URL was getting incorrectly stringified

Signed-off-by: Sean Smith <seaam@amazon.com>
---
 cli/cfncluster/cfncluster.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cli/cfncluster/cfncluster.py b/cli/cfncluster/cfncluster.py
index 24c5f9db1a..32c0df2cd6 100644
--- a/cli/cfncluster/cfncluster.py
+++ b/cli/cfncluster/cfncluster.py
@@ -151,7 +151,7 @@ def update(args):
         desired_capacity = asg.describe_auto_scaling_groups(AutoScalingGroupNames=[asg_name])\
             .get('AutoScalingGroups')[0]\
             .get('DesiredCapacity')
-        config.parameters.append(('InitialQueueSize', desired_capacity))
+        config.parameters.append(('InitialQueueSize', str(desired_capacity)))
 
     # Get the MasterSubnetId and use it to determine AvailabilityZone
     try:
@@ -174,7 +174,7 @@ def update(args):
     try:
         logger.debug((config.template_url, config.parameters))
 
-        cfn_params = [{'ParameterKey': param[0], 'ParameterValue': str(param[1])} for param in config.parameters]
+        cfn_params = [{'ParameterKey': param[0], 'ParameterValue': param[1]} for param in config.parameters]
         cfn.update_stack(StackName=stack_name,TemplateURL=config.template_url,
                          Parameters=cfn_params, Capabilities=capabilities)
         status = cfn.describe_stacks(StackName=stack_name).get("Stacks")[0].get('StackStatus')