---
title: "Derek Murawsky (@dmurawsky) | Hashnode"
description: "I'm a jack of all trades with deep expertise in infrastructure, cloud, networking, and devsecops. In my spare time I also like to play around with self-hosti..."
url: "https://hashnode.com/@dmurawsky"
---

@dmurawsky

# Derek Murawsky

@dmurawsky · Hilltown Township, PA · Joined May 2022

[Website](https://www.theendofthetunnel.org/)

## Comments

[Yeah, but how can you edit your robots.txt on hashnode? I can't seem to find a way to do it, and Facebook's debugger is throwing a lot of grief as a result. https://developers.facebook.com/support/bugs/1085796049211789/](https://hashnode.com/posts/understanding-indexing-issues-in-hashnode-blogs/64885f133d7318f77402c9ac/comment/66968c6e988c0ceca73887a6)

Comment · Article · Jul 16, 2024 · [Understanding Indexing Issues in Hashnode Blogs](https://hashnode.com/posts/understanding-indexing-issues-in-hashnode-blogs/64885f133d7318f77402c9ac)

[To answer my own question, and for anyone else that runs into this problem, the LogRetention class is the way to go. https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws\_logs.LogRetention.html "Creates a custom resource to control the retention policy of a CloudWatch Logs log group. The log group is created if it doesn't already exist." This lets you manage the auto-created ones that already exist as well as create new ones that don't. It goes in cleanly and does the job. :)](https://hashnode.com/posts/mastering-aws-cdk-aspects/63353bc0697c5665ab7e3ec6/comment/63f93a085ebda1e9aa53d2e4#reply-63fce7d09bc922223b9061a1)

Reply · Article · Feb 27, 2023 · [Mastering AWS CDK Aspects](https://hashnode.com/posts/mastering-aws-cdk-aspects/63353bc0697c5665ab7e3ec6)

[This is awesome, and was a very helpful writeup in helping me understand aspects. Thank you! Unfortunately, the logging solution does not work for existing lambdas because they already have a log group created. I can't think of a good way of handling that other than changing the settings on the lambda function itself. A custom construct might be a better approach for that?](https://hashnode.com/posts/mastering-aws-cdk-aspects/63353bc0697c5665ab7e3ec6/comment/63f93a085ebda1e9aa53d2e4)

Comment · Article · Feb 24, 2023 · [Mastering AWS CDK Aspects](https://hashnode.com/posts/mastering-aws-cdk-aspects/63353bc0697c5665ab7e3ec6)
