Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
Updated _index.md
Browse files Browse the repository at this point in the history
Since we have made a change in Table removal policy(.removalPolicy(RemovalPolicy.DESTROY)), we need to re-deploy the stack. Otherwise when we execute `cdk destroy` , the DynamoDb will not be destroyed.
  • Loading branch information
antonyphp authored Feb 24, 2023
1 parent 64ca9db commit dc4006d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions workshop/content/english/50-java/60-cleanups/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@ public class HitCounter extends Construct {
}
{{</highlight>}}

Since we made a change in the construct file, we need to redeploy the stack to put the changes into effect. Use `cdk deploy`:

```
cdk deploy
```

Additionally, the Lambda function created will generate CloudWatch logs that are
permanently retained. These will not be tracked by CloudFormation since they are
not part of the stack, so the logs will still persist. You will have to manually
Expand Down

0 comments on commit dc4006d

Please sign in to comment.