Skip to content

Commit

Permalink
Fix Function URL CloudFormation.
Browse files Browse the repository at this point in the history
  • Loading branch information
metaskills committed Dec 4, 2022
1 parent e044d9c commit 4945ed2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions lambify/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ Resources:
DockerTag: web
Properties:
AutoPublishAlias: live
FunctionUrlConfig:
AuthType: NONE
DeploymentPreference:
Type: AllAtOnce
MemorySize: 1792
Expand All @@ -38,5 +40,4 @@ Outputs:

RailsLambdaUrl:
Description: Lambda Function URL
Value:
Fn::GetAtt: RailsLambdaUrl.FunctionUrl
Value: !GetAtt RailsLambdaUrl.FunctionUrl
5 changes: 3 additions & 2 deletions {{cookiecutter.project_name}}/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ Resources:
DockerTag: web
Properties:
AutoPublishAlias: live
FunctionUrlConfig:
AuthType: NONE
DeploymentPreference:
Type: AllAtOnce
MemorySize: 1792
Expand All @@ -38,5 +40,4 @@ Outputs:

RailsLambdaUrl:
Description: Lambda Function URL
Value:
Fn::GetAtt: RailsLambdaUrl.FunctionUrl
Value: !GetAtt RailsLambdaUrl.FunctionUrl

0 comments on commit 4945ed2

Please sign in to comment.