Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support to wait for stack-delete-complete #115

Merged
merged 1 commit into from
Aug 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,15 @@ runs:
echo "${{ steps.check.outputs.stack_name }} create complete"
shell: bash

- name: Wait for stack delete-complete
working-directory: ${{ inputs.working_dir }}
if: steps.check.outputs.stack_status == 'DELETE_IN_PROGRESS'
run: |
echo "Waiting for "${{ steps.check.outputs.stack_name }}" to complete deleting..."
aws cloudformation wait stack-delete-complete --stack-name "${{ steps.check.outputs.stack_name }}" 2>/dev/null || true
echo "${{ steps.check.outputs.stack_name }} delete complete"
shell: bash

- name: Run aws-cdk
id: aws-cdk
working-directory: ${{ inputs.working_dir }}
Expand Down
Loading