Skip to content

Commit

Permalink
Fix distribution deployment
Browse files Browse the repository at this point in the history
Cache behavior of distributions require a list of trusted key groups,
but was being given a string value in our template,
exodus-lambda-deploy.yaml. This commit corrects the mistake.
  • Loading branch information
negillett committed Mar 21, 2022
1 parent 9842120 commit e7f14e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configuration/exodus-lambda-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Parameters:

Conditions:
EnableKeyGroup:
!Not [!Equals [!Join ["", !Ref keyids], None]]
false

Resources:
KeyGroup:
Expand Down Expand Up @@ -86,7 +86,7 @@ Resources:
LambdaFunctionARN: !Ref OriginResponseFunc.Version
TargetOriginId: !Sub S3-${project}-cdn-${env}
TrustedKeyGroups:
!If
- !If
- EnableKeyGroup
- !Ref KeyGroup
- !Ref AWS::NoValue
Expand Down

0 comments on commit e7f14e0

Please sign in to comment.