Skip to content

Commit

Permalink
fix: failure to deploy non-isr apps
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdottv committed Jun 22, 2021
1 parent f254ae2 commit e48304e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions static/stacks/web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ Resources:
- !If
- HasNextJsRegenerationLambda
- !GetAtt NextJsRegenerationQueue.Arn
- !Ref AWS::NoValue
- '*'
- PolicyName: InvokePolicy
PolicyDocument:
Version: '2012-10-17'
Expand All @@ -238,7 +238,7 @@ Resources:
- !If
- HasNextJsRegenerationLambda
- !GetAtt NextJsRegenerationLambda.Arn
- !Ref AWS::NoValue
- '*'
NextJsDefaultLambda:
Condition: IsNextJs
Type: AWS::Lambda::Function
Expand Down

0 comments on commit e48304e

Please sign in to comment.