serverless-cloudfront-invalidate
JSON →Serverless Framework plugin that automatically invalidates CloudFront cache after deployment. Version 1.12.2 is the latest stable release, with updates as needed (not on a fixed cadence). Unlike manual AWS CLI commands or custom scripts, this plugin integrates directly into the Serverless deployment lifecycle, ensuring cache invalidation happens automatically after each `sls deploy`. It supports multiple distributions, stage-specific invalidation, and standalone invalidation via `sls cloudfrontInvalidate`. It is actively maintained with support for self-signed certificates and proxy configurations.