Skip to content

Commit

Permalink
Merge pull request #2457 from cisagov/2450-frontend-pipeline-fails-to…
Browse files Browse the repository at this point in the history
…-deploy-to-staging

Fix Frontend Pipeline: Add resource policy to API Gateway
  • Loading branch information
aloftus23 authored Jan 10, 2024
2 parents 7fffae6 + 2b6d647 commit 4ca265c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions frontend/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ provider:
binaryMediaTypes:
- 'image/*'
- 'font/*'
resourcePolicy:
- Effect: Allow
Principal: '*'
Action: 'execute-api:Invoke'
Resource: 'execute-api:/${self:provider.stage}/*/*'
logs:
restApi: true
deploymentBucket:
Expand Down

0 comments on commit 4ca265c

Please sign in to comment.