Skip to content

Commit

Permalink
rm bucket during destroy
Browse files Browse the repository at this point in the history
  • Loading branch information
r3dact3d committed May 3, 2024
1 parent 66eb648 commit 8b86f1e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/destroy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,14 @@ jobs:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: ${{ secrets.AWS_REGION }}

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_REGION }}

- name: Create AWS S3 Bucket for AAP HA DB
run: |
aws s3 rb s3://${{secrets.OCP_CLUSTER_NAME}}-aap-ha-db-bucket --force

0 comments on commit 8b86f1e

Please sign in to comment.