From c36edee6996b16c5543201b1bb01173b523923af Mon Sep 17 00:00:00 2001 From: Robert Bo Davis Date: Tue, 12 Dec 2023 16:32:09 -0500 Subject: [PATCH] fix: configure aws creds so taht ssm param loader works in flex-deploy action --- .github/workflows/flex-deploy.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/flex-deploy.yml b/.github/workflows/flex-deploy.yml index 03040b60e1..2e717d8ba4 100644 --- a/.github/workflows/flex-deploy.yml +++ b/.github/workflows/flex-deploy.yml @@ -64,11 +64,20 @@ jobs: uses: actions/setup-node@v1 with: node-version: '16.x' + + - name: Configure AWS credentials + uses: aws-actions/configure-aws-credentials@v2 + with: + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-region: us-east-1 + - name: Set Twilio account SID uses: "marvinpinto/action-inject-ssm-secrets@latest" with: ssm_parameter: "/${{inputs.environment_code}}/twilio/${{inputs.helpline_code}}/account_sid" env_variable_name: "TWILIO_ACCOUNT_SID" + - name: Set Twilio Auth Token uses: "marvinpinto/action-inject-ssm-secrets@latest" with: