Skip to content

Commit

Permalink
fix / access stack name properly
Browse files Browse the repository at this point in the history
  • Loading branch information
ccggeo committed Dec 6, 2023
1 parent a3511e4 commit 63b3467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/modules/cloudformation.py
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ def check_mode_changeset(module, stack_params, cfn):
try:
for _i in range(60): # total time 5 min
# check stack is ready to have a change set created
stack = get_stack_facts(module, cfn, stack_name, raise_errors=True)
stack = get_stack_facts(module, cfn, stack_params['StackName'], raise_errors=True)
if stack["StackStatus"] == "UPDATE_COMPLETE":
break
time.sleep(5)
Expand Down

0 comments on commit 63b3467

Please sign in to comment.