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:
commit
29b81a4153
1 changed files with 0 additions and 3 deletions
|
@ -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']
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue