Skip to content

Commit 9f63277

Browse files
committed
I'm getting very tired of AI running me in circles. Trying this again.
1 parent 95ba2e4 commit 9f63277

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

serverless.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,14 @@ resources:
172172
ApiId:
173173
Ref: WebsocketsApi
174174
AutoDeploy: true
175+
Description: Serverless Websockets
176+
DefaultRouteSettings:
177+
DataTraceEnabled: true
178+
LoggingLevel: INFO
179+
AccessLogSettings:
180+
DestinationArn:
181+
Fn::Sub: arn:${AWS::Partition}:logs:${AWS::Region}:${AWS::AccountId}:log-group:${WebsocketsLogGroup}
182+
Format: '$context.identity.sourceIp $context.identity.caller $context.identity.user [$context.requestTime] "$context.eventType $context.routeKey $context.connectionId" $context.requestId'
175183

176184
# Apparently this is explicitly needed (which makes no sense to me, but there it is)
177185
ConnectLambdaPermission:

0 commit comments

Comments
 (0)