Skip to content
This repository was archived by the owner on Sep 25, 2025. It is now read-only.

Commit c8194f4

Browse files
committed
updated Backend
1 parent f3d603c commit c8194f4

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

backend/serverless.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@ resources:
147147
Resources:
148148
CognitoUserPool:
149149
Type: AWS::Cognito::UserPool
150+
DeletionPolicy: Retain
151+
UpdateReplacePolicy: Retain
150152
Properties:
151153
UserPoolName: acinside-cognito-user-pool
152154
AutoVerifiedAttributes:
@@ -166,6 +168,8 @@ resources:
166168

167169
PostsTable:
168170
Type: AWS::DynamoDB::Table
171+
DeletionPolicy: Retain
172+
UpdateReplacePolicy: Retain
169173
Properties:
170174
TableName: Posts
171175
AttributeDefinitions:
@@ -178,6 +182,8 @@ resources:
178182

179183
CounterTable:
180184
Type: AWS::DynamoDB::Table
185+
DeletionPolicy: Retain
186+
UpdateReplacePolicy: Retain
181187
Properties:
182188
TableName: Counter
183189
AttributeDefinitions:

0 commit comments

Comments
 (0)