From 3ae97da8e4b87f70493b60b83e7bd016f821e217 Mon Sep 17 00:00:00 2001 From: Nathan Gillett Date: Fri, 18 Mar 2022 12:18:11 -0400 Subject: [PATCH] Fix distribution deployment 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. --- configuration/exodus-lambda-deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/exodus-lambda-deploy.yaml b/configuration/exodus-lambda-deploy.yaml index 6e41d6ff..3e62c59d 100644 --- a/configuration/exodus-lambda-deploy.yaml +++ b/configuration/exodus-lambda-deploy.yaml @@ -86,7 +86,7 @@ Resources: LambdaFunctionARN: !Ref OriginResponseFunc.Version TargetOriginId: !Sub S3-${project}-cdn-${env} TrustedKeyGroups: - !If + - !If - EnableKeyGroup - !Ref KeyGroup - !Ref AWS::NoValue