Skip to content

Commit c1a12a5

Browse files
committed
refactor: renaming Unicorn Web resource names for PublicationEvaluationEventHandler
1 parent b992240 commit c1a12a5

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

unicorn_approvals/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,6 @@
7979
**/*.lnk
8080

8181
### requirements.txt ###
82-
# We ignore Python's requirements.txt as we use Poetry instead
82+
# We ignore Python's requirements.txt as we use UV instead
8383
**/requirements.txt
8484
**/.aws-sam

unicorn_contracts/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,6 @@
7979
**/*.lnk
8080

8181
### requirements.txt ###
82-
# We ignore Python's requirements.txt as we use Poetry instead
82+
# We ignore Python's requirements.txt as we use UV instead
8383
**/requirements.txt
8484
**/.aws-sam

unicorn_web/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,6 @@
7979
**/*.lnk
8080

8181
### requirements.txt ###
82-
# We ignore Python's requirements.txt as we use Poetry instead
82+
# We ignore Python's requirements.txt as we use UV instead
8383
**/requirements.txt
8484
**/.aws-sam

unicorn_web/template.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ Resources:
136136
RetentionInDays: !FindInMap [LogsRetentionPeriodMap, !Ref Stage, Days]
137137

138138
# Respond to PublicationEvaluationCompleted events from Unicorn Web EventBus
139-
PublicationApprovedEventHandlerFunction:
139+
PublicationEvaluationEventHandlerFunction:
140140
Type: AWS::Serverless::Function
141141
Properties:
142142
CodeUri: src/
@@ -160,13 +160,13 @@ Resources:
160160
detail-type:
161161
- PublicationEvaluationCompleted
162162

163-
# Log group for the PublicationApprovedEventHandlerFunction
164-
PublicationApprovedEventHandlerFunctionLogGroup:
163+
# Log group for the PublicationEvaluationEventHandlerFunction
164+
PublicationEvaluationEventHandlerFunctionLogGroup:
165165
Type: AWS::Logs::LogGroup
166166
UpdateReplacePolicy: Delete
167167
DeletionPolicy: Delete
168168
Properties:
169-
LogGroupName: !Sub "/aws/lambda/${PublicationApprovedEventHandlerFunction}"
169+
LogGroupName: !Sub "/aws/lambda/${PublicationEvaluationEventHandlerFunction}"
170170
RetentionInDays: !FindInMap [LogsRetentionPeriodMap, !Ref Stage, Days]
171171

172172
#### API GATEWAY REST API
@@ -484,9 +484,9 @@ Outputs:
484484
RequestApprovalFunctionArn:
485485
Description: Approval function ARN
486486
Value: !GetAtt RequestApprovalFunction.Arn
487-
PublicationApprovedEventHandlerFunctionArn:
487+
PublicationEvaluationEventHandlerFunctionArn:
488488
Description: Publication evaluation event handler function ARN
489-
Value: !GetAtt PublicationApprovedEventHandlerFunction.Arn
489+
Value: !GetAtt PublicationEvaluationEventHandlerFunction.Arn
490490

491491
#### EVENT BRIDGE OUTPUTS
492492
UnicornWebEventBusName:

0 commit comments

Comments
 (0)