DynamoDB TTL: Modify with AWS 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 …

CloudFormation: Avoid Stack Outputs Best Practices

Recently I’ve been working on a new project where we created many resources in a lot of different stacks. A feature of CloudFormation is that you can output values from your stack, which is great for referencing resources in other stacks. However, while there is a use-case for this, I’ve …

AWS CDK: Retrieve SSM Parameters (4 Methods)

When working with AWS CDK and using SSM Parameters to store information in between stacks there are multiple ways to retrieve the value, with both advantages and disadvantages. In this post, I’ll go over the different ways to retrieve SSM parameters in AWS CDK and when to use them.