Skip to content

Commit

Permalink
feat(1139): add forest client api token, url to pipeline for admin ma…
Browse files Browse the repository at this point in the history
…nagement, refs: #1139
  • Loading branch information
MCatherine1994 committed Feb 2, 2024
1 parent 3572276 commit 2998e0e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ jobs:
python-version: 3.8

- name: Tests and coverage
env:
FC_API_TOKEN: ${{ secrets.FOREST_CLIENT_API_API_KEY }}
run: |
cd server/admin_management
pip install -r requirements.txt -r requirements-dev.txt
Expand Down
3 changes: 3 additions & 0 deletions infrastructure/server/fam_admin_management_api.tf
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ resource "aws_lambda_function" "fam_admin_management_api_function" {
COGNITO_CLIENT_ID = "3hv7q2mct0okt12m5i3p5v4phu"

ALLOW_ORIGIN = "${var.front_end_redirect_path}"

FC_API_TOKEN = "${var.forest_client_api_api_key}"
FC_API_BASE_URL = "${var.forest_client_api_base_url}"
}

}
Expand Down

0 comments on commit 2998e0e

Please sign in to comment.