Use parameters in os_stack update (#3560)
This change makes os_stack module idempotent. Otherwise, re-use of the module fails with: Error updating stack: ERROR: The Parameter (...) was not provided. Fixes #3165.
This commit is contained in:
parent
7a2d1a4210
commit
8a02b5d702
1 changed files with 2 additions and 1 deletions
|
@ -180,7 +180,8 @@ def _update_stack(module, stack, cloud):
|
|||
environment_files=module.params['environment'],
|
||||
timeout=module.params['timeout'],
|
||||
rollback=module.params['rollback'],
|
||||
wait=module.params['wait'])
|
||||
wait=module.params['wait'],
|
||||
**module.params['parameters'])
|
||||
|
||||
if stack['stack_status'] == 'UPDATE_COMPLETE':
|
||||
return stack
|
||||
|
|
Loading…
Reference in a new issue