Bugfixes for automated version creation

This commit is contained in:
Oliver Gutperl
2019-03-28 17:42:28 +01:00
parent 9293626aa5
commit 5872e8e1a7
4 changed files with 14 additions and 11 deletions

View File

@@ -3,8 +3,7 @@ Transform: AWS::Serverless-2016-10-31
Outputs:
StandardRedirectsForCloudFrontVersionOutput:
Description: The ARN of the function, including the version
Value:
Ref: DeployedFunction
Value: !Ref StandardRedirectsForCloudFront.Version
Export:
Name: StandardRedirectsForCloudFrontARN
Resources:
@@ -17,9 +16,3 @@ Resources:
MemorySize: 128
Timeout: 3
AutoPublishAlias: 'CurrentProd'
DeployedFunction:
Type: AWS::Lambda::Version
Properties:
Description: The deployed version of the function
FunctionName:
Ref: StandardRedirectsForCloudFront