From 4011357ffe05e951b71e55c5494a7ac1e817f65d Mon Sep 17 00:00:00 2001 From: Dev Singh Date: Tue, 3 Oct 2023 11:30:32 -0500 Subject: [PATCH] fix cfn --- cloudformation/lambda.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cloudformation/lambda.yml b/cloudformation/lambda.yml index 7af09ac..26e20b2 100644 --- a/cloudformation/lambda.yml +++ b/cloudformation/lambda.yml @@ -153,14 +153,14 @@ Resources: Description: Resume Book API Gateway AlwaysDeploy: True DefinitionBody: - Fn::Sub: - - Fn::Transform: + !Sub: + - !Transform Name: AWS::Include Parameters: - Location: ../docs/swagger-resume-book.yml + Location: '../docs/swagger-resume-book.yml' - AccountId: !Ref AWS::AccountId - - Region: !Ref AWS::Region - - LambdaFunctionName: !Ref LambdaFunctionName + Region: !Ref AWS::Region + LambdaFunctionName: !Ref LambdaFunctionName Auth: Authorizers: