From e1b145ea663a197c1fe47027e1031faa060aa134 Mon Sep 17 00:00:00 2001 From: Dev Singh Date: Tue, 3 Oct 2023 11:43:08 -0500 Subject: [PATCH] use fn sub --- docs/swagger-resume-book.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/swagger-resume-book.yml b/docs/swagger-resume-book.yml index ae166b9..48e55d9 100644 --- a/docs/swagger-resume-book.yml +++ b/docs/swagger-resume-book.yml @@ -37,7 +37,8 @@ paths: httpMethod: POST contentHandling: CONVERT_TO_TEXT type: aws_proxy - uri: arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:function:infra-resume-book-api-lambda/invocations + uri: + Fn::Sub: "arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:function:infra-resume-book-api-lambda/invocations" /api/v1/student/getUploadURL: get: @@ -58,7 +59,8 @@ paths: httpMethod: POST contentHandling: CONVERT_TO_TEXT type: aws_proxy - uri: arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:function:infra-resume-book-api-lambda/invocations + uri: + Fn::Sub: "arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:function:infra-resume-book-api-lambda/invocations" /api/v1/recruiter/getResumeListings: get: @@ -83,7 +85,8 @@ paths: httpMethod: POST contentHandling: CONVERT_TO_TEXT type: aws_proxy - uri: arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:function:infra-resume-book-api-lambda/invocations + uri: + Fn::Sub: "arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:function:infra-resume-book-api-lambda/invocations" /api/v1/recruiter/getResumeUrl: get: