|
|
|
@ -1230,6 +1230,8 @@ def startstop_instances(module, ec2, instance_ids, state, instance_tags):
|
|
|
|
termination_protection = module.params.get('termination_protection')
|
|
|
|
termination_protection = module.params.get('termination_protection')
|
|
|
|
changed = False
|
|
|
|
changed = False
|
|
|
|
instance_dict_array = []
|
|
|
|
instance_dict_array = []
|
|
|
|
|
|
|
|
source_dest_check = module.params.get('source_dest_check')
|
|
|
|
|
|
|
|
termination_protection = module.params.get('termination_protection')
|
|
|
|
|
|
|
|
|
|
|
|
if not isinstance(instance_ids, list) or len(instance_ids) < 1:
|
|
|
|
if not isinstance(instance_ids, list) or len(instance_ids) < 1:
|
|
|
|
# Fail unless the user defined instance tags
|
|
|
|
# Fail unless the user defined instance tags
|
|
|
|
|