Skip to content

Commit

Permalink
Merge pull request #44357 from code-dot-org/INF-506-bump-lambda-version
Browse files Browse the repository at this point in the history
INF-506 bump redirect lambda version
  • Loading branch information
cat5inthecradle committed Jan 13, 2022
2 parents 64804cb + c2ed32f commit f49b4be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aws/cloudformation/components/www_redirect.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
LambdaFunctionAssociations:
# Trigging upon origin-request ensures redirect is cached
- EventType: origin-request
LambdaFunctionARN: !Ref <%=app%>WwwRedirectLambdaVersion1
LambdaFunctionARN: !Ref <%=app%>WwwRedirectLambdaVersion2
ForwardedValues:
QueryString: "false"
Headers:
Expand Down Expand Up @@ -123,7 +123,7 @@
Mode: Active
# To make a new version, bump the NAME of this resource and all references
<%=app%>WwwRedirectLambdaVersion1:
<%=app%>WwwRedirectLambdaVersion2:
Type: AWS::Lambda::Version
Properties:
FunctionName: !Ref <%=app%>WwwRedirectLambda
Expand Down

0 comments on commit f49b4be

Please sign in to comment.