From 4471b842abfb4c21eddd7a16ce71d12adf509c60 Mon Sep 17 00:00:00 2001 From: ribeirogab Date: Sat, 14 Sep 2024 17:25:25 -0300 Subject: [PATCH] feat: configure aws credentials for deploy workflow --- .github/workflows/deploy.yml | 7 +++++++ package-lock.json | 3 +++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a5b1370..e05e386 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -28,6 +28,13 @@ jobs: - name: Install Terraform uses: hashicorp/setup-terraform@v1 + - name: Configure AWS credentials + uses: aws-actions/configure-aws-credentials@v1 + 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: Run deploy-lambda.sh script run: | chmod +x ./infra/scripts/deploy-lambda.sh diff --git a/package-lock.json b/package-lock.json index c73ee7e..be0ca7f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -33,6 +33,9 @@ "typescript": "4.7", "vite-tsconfig-paths": "^4.3.2", "vitest": "^2.0.5" + }, + "engines": { + "node": "20.x" } }, "node_modules/@alloc/quick-lru": {