Skip to content

Commit

Permalink
10391 - trying to fix migration script
Browse files Browse the repository at this point in the history
  • Loading branch information
codyseibert committed Sep 9, 2024
1 parent 7308a18 commit e21aa83
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ jobs:
command: |
OUTPUT_ONLY=true npm run deploy:allColors $ENV
POSTGRES_HOST=$(cat ./web-api/terraform/applyables/allColors/output.json | jq -r '.rds_host_name.value')
POSTGRES_HOST=$POSTGRES_HOST POSTGRES_PASSWORD=$POSTGRES_PASSWORD POSTGRES_USER=$POSTGRES_USER CIRCLE_BRANCH=$CIRCLE_BRANCH npm run migration:postgres
NODE_ENV=production npm run migration:postgres
- run:
name: Enable Check Migration Status Cron
command: |
Expand Down
6 changes: 3 additions & 3 deletions scripts/postgres/generate-token.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

# Set variables
REGION="us-east-1" # e.g., us-east-1
DB_HOST="tf-20240902220852451900000001.ctjufrxxikdr.us-east-1.rds.amazonaws.com" # e.g., mydb.cluster-abcdefghijkl.us-east-1.rds.amazonaws.com
DB_HOST="tf-20240909164102989400000001.ctjufrxxikdr.us-east-1.rds.amazonaws.com" # e.g., mydb.cluster-abcdefghijkl.us-east-1.rds.amazonaws.com
DB_PORT=5432 # Change this if using a different port, e.g., 5432 for PostgreSQL
DB_USER="exp4_developers" # Database user
DB_NAME="exp4_dawson" # Database name
DB_USER="exp3_dawson" # Database user
DB_NAME="exp3_dawson" # Database name
SSL_CERT_PATH="global-bundle.pem" # Path to SSL certificate bundle

# Generate the IAM authentication token
Expand Down

0 comments on commit e21aa83

Please sign in to comment.