Skip to content

Commit

Permalink
remove env vars from workflow and terraform
Browse files Browse the repository at this point in the history
  • Loading branch information
AyodeAwe committed Jan 9, 2025
1 parent 5eba006 commit 6c6c209
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 16 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,6 @@ jobs:
id: plan
working-directory: terraform
run: terraform plan -out tfplan
env:
TF_VAR_app_id: ${{ secrets.APP_ID }}
TF_VAR_webhook_secret: ${{ secrets.WEBHOOK_SECRET }}
TF_VAR_private_key: ${{ secrets.PRIVATE_KEY }}
TF_VAR_gputester_pat: ${{ secrets.GPUTESTER_PAT }}

- name: Terraform Apply
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
Expand Down
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,6 @@ terraform plan
terraform apply
```

### Required Environment Variables

- `APP_ID`: GitHub App ID
- `WEBHOOK_SECRET`: GitHub Webhook Secret
- `PRIVATE_KEY`: GitHub App Private Key
- `GPUTESTER_PAT`: GPU Tester Personal Access Token

## npm Scripts

```sh
Expand Down
4 changes: 0 additions & 4 deletions terraform/lambda.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ resource "aws_lambda_function" "probot_handler" {
NODE_ENV = "production"
LOG_FORMAT = "json"
LOG_LEVEL = "debug"
APP_ID = var.app_id
WEBHOOK_SECRET = var.webhook_secret
PRIVATE_KEY = var.private_key
GPUTESTER_PAT = var.gputester_pat
}
}

Expand Down

0 comments on commit 6c6c209

Please sign in to comment.