Merge pull request #2826 from shawnsilva/cloudformation-req-params

The parameters 'template' and 'template_url' are incorrectly required in all cases in the cloudformation module
This commit is contained in:
Toshio Kuratomi 2016-02-02 13:27:30 -08:00
commit 29b81a4153

View file

@ -258,9 +258,6 @@ def main():
if not HAS_BOTO: if not HAS_BOTO:
module.fail_json(msg='boto required for this module') module.fail_json(msg='boto required for this module')
if module.params['template'] is None and module.params['template_url'] is None:
module.fail_json(msg='Either template or template_url expected')
state = module.params['state'] state = module.params['state']
stack_name = module.params['stack_name'] stack_name = module.params['stack_name']