From 6ce4d46d4d0ad49cc25f62a26122053fb2d36804 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20de=20Villamil?= Date: Tue, 1 Jul 2014 07:55:51 +0200 Subject: [PATCH] Adds support for instance monitoring in ec2_lc module. --- cloud/ec2_lc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cloud/ec2_lc b/cloud/ec2_lc index 2d0a1178e19..b9b6f3eb845 100755 --- a/cloud/ec2_lc +++ b/cloud/ec2_lc @@ -193,13 +193,13 @@ def create_launch_config(connection, module): user_data=user_data, block_device_mappings=[bdm], instance_type=instance_type, - instance_monitoring=instance_monitoring, kernel_id=kernel_id, spot_price=spot_price, ramdisk_id=ramdisk_id, instance_profile_name=instance_profile_name, ebs_optimized=ebs_optimized, - associate_public_ip_address=associate_public_ip_address) + associate_public_ip_address=associate_public_ip_address, + instance_monitoring=instance_monitoring) launch_configs = connection.get_all_launch_configurations(names=[name]) changed = False @@ -241,11 +241,11 @@ def main(): instance_type=dict(type='str'), state=dict(default='present', choices=['present', 'absent']), spot_price=dict(type='float'), - instance_monitoring=dict(default=False, type='bool'), ramdisk_id=dict(type='str'), instance_profile_name=dict(type='str'), ebs_optimized=dict(default=False, type='bool'), associate_public_ip_address=dict(type='bool'), + instance_monitoring=dict(default=False, type='bool'), ) )