From dc4006d7d3dd272366fafba65f371f53d3c03beb Mon Sep 17 00:00:00 2001 From: antonyphp Date: Fri, 24 Feb 2023 11:56:19 +0100 Subject: [PATCH] Updated _index.md 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. --- workshop/content/english/50-java/60-cleanups/_index.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/workshop/content/english/50-java/60-cleanups/_index.md b/workshop/content/english/50-java/60-cleanups/_index.md index 07226b21f..afc331b15 100644 --- a/workshop/content/english/50-java/60-cleanups/_index.md +++ b/workshop/content/english/50-java/60-cleanups/_index.md @@ -80,6 +80,12 @@ public class HitCounter extends Construct { } {{}} +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