From 96a37d95fa913c58ee637eb997f16a6981e3a8dd Mon Sep 17 00:00:00 2001 From: Daniel Sasser Date: Fri, 3 Nov 2023 10:34:39 -0700 Subject: [PATCH] VACMS-15202: Adding AWS credentials, and s3 cp command. --- .github/workflows/income-limits-test.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/income-limits-test.yml b/.github/workflows/income-limits-test.yml index c08d945aad..666bdcb899 100644 --- a/.github/workflows/income-limits-test.yml +++ b/.github/workflows/income-limits-test.yml @@ -21,3 +21,13 @@ jobs: java-version: '8' - run: java -version + + - name: Configure AWS credentials + uses: aws-actions/configure-aws-credentials@e1e17a757e536f70e52b5a12b2e8d1d1c60e04ef # v2.0.0 + with: + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-region: us-gov-west-1 + + - run: | #copies the test script from s3 where it already exists. + aws s3 cp s3://dsva-vagov-staging-config-bucket/cms-test/ConnectionTest.jar . --region us-gov-west-1