mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-27 07:01:22 -07:00
parent
17a008654a
commit
9322486ac3
1 changed files with 2 additions and 1 deletions
|
@ -539,7 +539,8 @@ def main():
|
||||||
else:
|
else:
|
||||||
stack_params['NotificationARNs'] = []
|
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()
|
stack_params['StackPolicyBody'] = open(module.params['stack_policy'], 'r').read()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue