Skip to content

Commit 4f73bbd

Browse files
committed
fix: fix same export name error
1 parent 556d126 commit 4f73bbd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

template.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,7 @@ Resources:
539539
Type: AWS::Serverless::Function
540540
Properties:
541541
Handler: org.umaxcode.SendTaskDeadlineNotificationLambdaHandler::handleRequest
542+
CodeUri: .
542543
Policies:
543544
- AWSLambdaBasicExecutionRole
544545
- Statement:
@@ -588,9 +589,9 @@ Resources:
588589
Outputs:
589590
TaskManagementSystemApi:
590591
Description: URL for application
591-
Value: !Sub 'https://${ServerlessRestApi}.execute-api.${AWS::Region}.amazonaws.com/Prod/ping'
592+
Value: !Sub 'https://${ServerlessRestApi}.execute-api.${AWS::Region}.amazonaws.com/Prod'
592593
Export:
593-
Name: TaskManagementSystemApi
594+
Name: !Sub ${AWS::StackName}-TaskManagementSystemApi
594595

595596
TaskTableName:
596597
Description: 'The name of the DynamoDB Task table'

0 commit comments

Comments
 (0)