vladcosorg/S3 & Cloudfront Smart Invalidation - save money and avoid unnecessary cache invalidation.
Analyze the changed files to S3 and minimize the number of Cloudfront invalidations and maximize cache hits
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| source | No description | yes | — |
| target | Target s3 bucket to sync to | yes | — |
| s3args | Additional arguments from https://docs.aws.amazon.com/cli/latest/reference/s3/sync.html | no | — |
| cfargs | Additional arguments from https://docs.aws.amazon.com/cli/latest/reference/cloudfront/create-invalidation.html | no | — |
| distribution | Cloudfront distribution ID | no | — |
| invalidation-strategy | Available values: `BALANCED`, `PRECISE`, `FRUGAL` | no | balanced |
| balanced-limit | Maximum amount of invalidation requests when using `BALANCED` strategy | no | 5 |
Outputs
no outputs