Skip to content

Commit

Permalink
Delete all production AWS resources
Browse files Browse the repository at this point in the history
  • Loading branch information
aloftus23 committed Nov 15, 2024
1 parent c30afa4 commit df2639b
Show file tree
Hide file tree
Showing 24 changed files with 6 additions and 3,127 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
20 changes: 0 additions & 20 deletions infrastructure/api_gateway_alarms.tf

This file was deleted.

141 changes: 0 additions & 141 deletions infrastructure/cloudtrail.tf

This file was deleted.

46 changes: 0 additions & 46 deletions infrastructure/cloudtrail_bucket_policy.tpl

This file was deleted.

90 changes: 0 additions & 90 deletions infrastructure/cloudwatch.tf

This file was deleted.

Loading

0 comments on commit df2639b

Please sign in to comment.