Merge pull request #2243 from amenonsen/ec2-init

Fix v2 breakage: Add missing variable initializations
This commit is contained in:
James Cammarata 2015-10-10 22:13:20 -04:00
commit 92d25017ed

View file

@ -1226,6 +1226,8 @@ def startstop_instances(module, ec2, instance_ids, state, instance_tags):
wait = module.params.get('wait') wait = module.params.get('wait')
wait_timeout = int(module.params.get('wait_timeout')) wait_timeout = int(module.params.get('wait_timeout'))
source_dest_check = module.params.get('source_dest_check')
termination_protection = module.params.get('termination_protection')
changed = False changed = False
instance_dict_array = [] instance_dict_array = []