devopspolis/Invalidate AWS CloudFront Distribution
Invalidate AWS CloudFront Distribution
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Oct 8, 2025
- License
- None
Pinned Snippet
uses: devopspolis/invalidate-aws-cloudfront-distribution@c72fdc8f38ac31256e7b8bb47f365914c0b7b4ce # v0.8.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| distribution-id | CloudFront Distribution ID | yes | — |
| paths | CloudFront Invalidation Paths (space-separated, e.g., "/* /index.html /css/*") | no | /* |
| role | AWS role to assume (ARN or short name) | no | — |
| wait-for-completion | Wait for invalidation to complete | no | false |
| caller-reference | Custom caller reference for the invalidation | no | — |
| dry-run | Validate inputs and permissions without creating invalidation | no | false |
| retry-attempts | Number of retry attempts for AWS API calls (1-10) | no | 3 |
| mask-sensitive-info | Mask sensitive information in logs | no | false |
| aws-region | AWS region for CloudFront operations (falls back to AWS_REGION, AWS_DEFAULT_REGION, then us-east-1) | no | — |
Outputs
| name | description |
|---|---|
| invalidation-id | The Invalidation ID |
| invalidation-status | The Invalidation Status |
| invalidation-create-time | The Invalidation Creation Time |
| dry-run-status | Status of dry run validation (if dry-run was enabled) |
| final-status | Final invalidation status after completion wait |