From 4f73bbd29710f1a9da3d47761f2da06620e6066c Mon Sep 17 00:00:00 2001 From: umaxcode Date: Sat, 18 Jan 2025 08:43:15 +0000 Subject: [PATCH] fix: fix same export name error --- template.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/template.yaml b/template.yaml index fa9c4be..edeace9 100644 --- a/template.yaml +++ b/template.yaml @@ -539,6 +539,7 @@ Resources: Type: AWS::Serverless::Function Properties: Handler: org.umaxcode.SendTaskDeadlineNotificationLambdaHandler::handleRequest + CodeUri: . Policies: - AWSLambdaBasicExecutionRole - Statement: @@ -588,9 +589,9 @@ Resources: Outputs: TaskManagementSystemApi: Description: URL for application - Value: !Sub 'https://${ServerlessRestApi}.execute-api.${AWS::Region}.amazonaws.com/Prod/ping' + Value: !Sub 'https://${ServerlessRestApi}.execute-api.${AWS::Region}.amazonaws.com/Prod' Export: - Name: TaskManagementSystemApi + Name: !Sub ${AWS::StackName}-TaskManagementSystemApi TaskTableName: Description: 'The name of the DynamoDB Task table'