Skip to content
Merged
Show file tree
Hide file tree
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 .github/workflows/teardown_infrastructure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,23 @@ name: Teardown infrastructure
on:
schedule:
- cron: 0 23 * * 1-5
workflow_dispatch:
jobs:
teardown_infrastructure:
name: Teardown infrastructure on weekday schedule
runs-on: ubuntu-latest
environment: pulumi
permissions:
id-token: write
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v5
with:
role-to-assume: ${{ secrets.AWS_IAM_INFRASTRUCTURE_ROLE_ARN }}
aws-region: ${{ secrets.AWS_REGION }}
Comment thread
forstmeier marked this conversation as resolved.
Comment thread
forstmeier marked this conversation as resolved.
- name: Install Flox
uses: flox/install-flox-action@v2
- name: Dismantle with Pulumi
Expand Down
3 changes: 3 additions & 0 deletions infrastructure/Pulumi.production.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
config:
aws:region:
secure: AAABALPeEekY8m4V3bzTX5idnUTmjjjRWfJQit7uhk+w4mxTWyDK5r0=