parent
cd854c1d2b
commit
f29285b4b5
1 changed files with 2 additions and 1 deletions
|
@ -503,7 +503,8 @@ def main():
|
|||
else:
|
||||
stack_params['NotificationARNs'] = []
|
||||
|
||||
if module.params['stack_policy'] is not None:
|
||||
# can't check the policy when verifying.
|
||||
if module.params['stack_policy'] is not None and not module.check_mode:
|
||||
stack_params['StackPolicyBody'] = open(module.params['stack_policy'], 'r').read()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue