Remove double-assignment of EC2 parameters (#4081)
The `source_dest_check` and `termination_protection` variables are being assigned twice in ec2.py, likely due to an incorrect merge somewhere along the line.
This commit is contained in:
parent
1d0d5db97a
commit
4845c96b00
1 changed files with 0 additions and 2 deletions
|
@ -1270,8 +1270,6 @@ def startstop_instances(module, ec2, instance_ids, state, instance_tags):
|
|||
termination_protection = module.params.get('termination_protection')
|
||||
changed = False
|
||||
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:
|
||||
# Fail unless the user defined instance tags
|
||||
|
|
Loading…
Reference in a new issue