Skip to content

Commit a44845f

Browse files
committed
And more tweaks to force redeploys
1 parent 86afc0f commit a44845f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

serverless.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ resources:
183183
Fn::Sub: arn:aws:execute-api:${AWS::Region}:${AWS::AccountId}:${WebsocketsApi}/${self:provider.stage}/*/$disconnect
184184

185185
# for autodeployments
186-
WebsocketsDeployment:
186+
WebsocketsDeployment${sls:instanceId}:
187187
Type: AWS::ApiGatewayV2::Deployment
188188
Properties:
189189
ApiId:
@@ -200,12 +200,11 @@ resources:
200200
ApiId:
201201
Ref: WebsocketsApi
202202
DeploymentId:
203-
Ref: WebsocketsDeployment
203+
Ref: WebsocketsDeployment${sls:instanceId}
204204
DefaultRouteSettings:
205205
DataTraceEnabled: true # enables execution logging
206206
LoggingLevel: INFO # ERROR | INFO
207207

208-
209208
Outputs:
210209
WsMessageQueueArn:
211210
Value: !GetAtt WsMessageQueue.Arn

0 commit comments

Comments
 (0)