mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-27 18:50:21 -07:00
make instance_monitoring: false
take effect (#33233)
* make `instance_monitoring: false` take effect Fixes #33200
This commit is contained in:
parent
4b4c1fdb13
commit
cdf660ba1b
1 changed files with 1 additions and 1 deletions
|
@ -307,7 +307,7 @@ def create_launch_config(connection, module):
|
||||||
if classic_link_vpc_id is not None:
|
if classic_link_vpc_id is not None:
|
||||||
launch_config['ClassicLinkVPCId'] = classic_link_vpc_id
|
launch_config['ClassicLinkVPCId'] = classic_link_vpc_id
|
||||||
|
|
||||||
if instance_monitoring:
|
if instance_monitoring is not None:
|
||||||
launch_config['InstanceMonitoring'] = {'Enabled': instance_monitoring}
|
launch_config['InstanceMonitoring'] = {'Enabled': instance_monitoring}
|
||||||
|
|
||||||
if classic_link_vpc_security_groups is not None:
|
if classic_link_vpc_security_groups is not None:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue