Skip to content

Commit

Permalink
fix: add missing env (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
jesus4497 authored Nov 29, 2023
1 parent 617ea6a commit b9a1352
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,10 @@ provider:
environment:
CONTENTFUL_SPACE_ID: ${env:CONTENTFUL_SPACE_ID}
CONTENTFUL_DELIVERY_API_TOKEN: ${env:CONTENTFUL_DELIVERY_API_TOKEN}
CONTENTFUL_CONTENT_MANAGEMENT_API_TOKEN: ${env:CONTENTFUL_CONTENT_MANAGEMENT_API_TOKEN}
httpApi:
cors: true

iam:
role:
statements:
- Effect: Allow
Action:
- lambda:InvokeFunction
Resource: arn:aws:lambda:*:*:*
tracing:
apiGateway: true
lambda: true
Expand Down

0 comments on commit b9a1352

Please sign in to comment.