Skip to content

Commit

Permalink
Merge pull request #726 from cisagov/AL-production-destroy
Browse files Browse the repository at this point in the history
Replace production resources in AWS
  • Loading branch information
aloftus23 authored Nov 15, 2024
2 parents df2639b + 60d2cdc commit 70eb4fe
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/infrastructure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,12 @@ jobs:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

# - name: Terraform apply
# if: github.ref == 'refs/heads/production'
# run: terraform apply prod.plan
# env:
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- name: Terraform apply
if: github.ref == 'refs/heads/production'
run: terraform apply prod.plan
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

- if: ${{ always() }}
run: rm prod.plan || true

0 comments on commit 70eb4fe

Please sign in to comment.