Skip to content

Commit

Permalink
Disable EC2 metadata for sls package test
Browse files Browse the repository at this point in the history
  • Loading branch information
aloftus23 committed Jan 3, 2025
1 parent 14008b8 commit c75339a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,7 @@ jobs:
- name: Package with Serverless
run: npx sls package
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: us-east-1
AWS_EC2_METADATA_DISABLED: 'true'
SLS_DEBUG: '*'

- name: Run pytest
Expand Down

0 comments on commit c75339a

Please sign in to comment.