Skip to content

Commit

Permalink
Merge pull request #1937 from techmatters/bo/fix/flexDeployRegression
Browse files Browse the repository at this point in the history
fix: configure aws creds so taht ssm param loader works in flex-deplo…
  • Loading branch information
robert-bo-davis authored Dec 12, 2023
2 parents 0f435f7 + c36edee commit 9ca4bb7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/flex-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9ca4bb7

Please sign in to comment.