Permalink
Browse files

Set detailed monitoring to False unless it is explicitly enabled by u…

…ser. Closes #634.
  • Loading branch information...
1 parent 072a1af commit f82abf76bbf5566aac58b8543ee405ef2e10281a @garnaat garnaat committed Mar 12, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 boto/ec2/autoscale/__init__.py
@@ -211,6 +211,8 @@ def create_launch_configuration(self, launch_config):
'SecurityGroups')
if launch_config.instance_monitoring:
params['InstanceMonitoring.Enabled'] = 'true'
+ else:
+ params['InstanceMonitoring.Enabled'] = 'false'
return self.get_object('CreateLaunchConfiguration', params,
Request, verb='POST')

0 comments on commit f82abf7

Please sign in to comment.