From d2aa01b0251480f26fe75718c0d56d360a75d29a Mon Sep 17 00:00:00 2001 From: Preston Mueller Date: Thu, 22 Jun 2023 10:32:53 -0400 Subject: [PATCH] Update README and GitHub action to clean up stale certificates (#693) --- .github/workflows/deploy.yml | 1 - README.md | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b31529594..115ebd1c6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,7 +18,6 @@ jobs: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} TM_FRONTEND_CERT_ARN: ${{ secrets.TM_FRONTEND_CERT_ARN }} - TM_FRONTEND_CERT_ARN_BETA: ${{ secrets.TM_FRONTEND_CERT_ARN_BETA }} TM_LABS_WILDCARD_CERT_ARN: ${{ secrets.TM_LABS_WILDCARD_CERT_ARN }} MBTA_V2_API_KEY: ${{ secrets.MBTA_V2_API_KEY }} steps: diff --git a/README.md b/README.md index 3eefd14ec..f6a9933f7 100644 --- a/README.md +++ b/README.md @@ -22,9 +22,7 @@ This is the repository for the TransitMatters Data Dashboard. Client code is wri 1. Configure AWS CLI 1.x or 2.x with your AWS access key ID and secret under the profile name `transitmatters`. 2. Configure shell environment variables for AWS ACM domain certificates. - `TM_FRONTEND_CERT_ARN` - - `TM_FRONTEND_CERT_ARN_BETA` - - `TM_BACKEND_CERT_ARN` - - `TM_BACKEND_CERT_ARN_BETA` + - `TM_LABS_WILDCARD_CERT_ARN` - (You may also need to set `AWS_DEFAULT_REGION` in your shell to `us-east-1`. Maybe not! We're not sure.) 3. Execute `$ ./deploy.sh` (for beta) or `$ ./deploy.sh -p` (for production). If deploying from a CI platform (such as GitHub Actions) you may also want to include the `-c` flag.