diff --git a/lib/ansible/modules/cloud/amazon/ec2_lc.py b/lib/ansible/modules/cloud/amazon/ec2_lc.py index 6ea8fb23bd8..74787d1a74d 100755 --- a/lib/ansible/modules/cloud/amazon/ec2_lc.py +++ b/lib/ansible/modules/cloud/amazon/ec2_lc.py @@ -307,7 +307,7 @@ def create_launch_config(connection, module): if classic_link_vpc_id is not None: launch_config['ClassicLinkVPCId'] = classic_link_vpc_id - if instance_monitoring: + if instance_monitoring is not None: launch_config['InstanceMonitoring'] = {'Enabled': instance_monitoring} if classic_link_vpc_security_groups is not None: