InvalidSignature in Node with AWS SDK

Sometimes you run into a weird issue that is hard to debug. This was one of those times. I was working on a Lambda function that was supposed to retrieve a secret from AWS Secrets Manager. However, I kept getting random InvalidSignatureException errors in production.

Modifying DynamoDB TTL with CDK

Ever tried to update the TTL attribute of a DynamoDB table using the AWS CDK and got a InvalidRequest in CDK or a ValidationException via the CLI? I did, and it took me a while to figure out why. In this post, I’ll explain what happened and how to avoid the same issue in the future. This is a …