Adds support for instance monitoring in ec2_lc module.
This commit is contained in:
parent
bde58eccdd
commit
6ce4d46d4d
1 changed files with 3 additions and 3 deletions
|
@ -193,13 +193,13 @@ def create_launch_config(connection, module):
|
||||||
user_data=user_data,
|
user_data=user_data,
|
||||||
block_device_mappings=[bdm],
|
block_device_mappings=[bdm],
|
||||||
instance_type=instance_type,
|
instance_type=instance_type,
|
||||||
instance_monitoring=instance_monitoring,
|
|
||||||
kernel_id=kernel_id,
|
kernel_id=kernel_id,
|
||||||
spot_price=spot_price,
|
spot_price=spot_price,
|
||||||
ramdisk_id=ramdisk_id,
|
ramdisk_id=ramdisk_id,
|
||||||
instance_profile_name=instance_profile_name,
|
instance_profile_name=instance_profile_name,
|
||||||
ebs_optimized=ebs_optimized,
|
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])
|
launch_configs = connection.get_all_launch_configurations(names=[name])
|
||||||
changed = False
|
changed = False
|
||||||
|
@ -241,11 +241,11 @@ def main():
|
||||||
instance_type=dict(type='str'),
|
instance_type=dict(type='str'),
|
||||||
state=dict(default='present', choices=['present', 'absent']),
|
state=dict(default='present', choices=['present', 'absent']),
|
||||||
spot_price=dict(type='float'),
|
spot_price=dict(type='float'),
|
||||||
instance_monitoring=dict(default=False, type='bool'),
|
|
||||||
ramdisk_id=dict(type='str'),
|
ramdisk_id=dict(type='str'),
|
||||||
instance_profile_name=dict(type='str'),
|
instance_profile_name=dict(type='str'),
|
||||||
ebs_optimized=dict(default=False, type='bool'),
|
ebs_optimized=dict(default=False, type='bool'),
|
||||||
associate_public_ip_address=dict(type='bool'),
|
associate_public_ip_address=dict(type='bool'),
|
||||||
|
instance_monitoring=dict(default=False, type='bool'),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue