Automate the invalidation of a CloudFront cache using CDK, Python, Lambda, and CodePipeline. — I’ve previously written about building cross-account deployment pipelines in CDK and Python. I’ve also shared a project that allows you to build them for deploying SAM apps, simple CDK stacks, and S3 hosted web apps. While that project has saved me and my team a lot of time there was…