Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arvida/cf-invalidator
https://github.com/arvida/cf-invalidator
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/arvida/cf-invalidator
- Owner: arvida
- Created: 2011-11-10T16:23:23.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2011-11-10T16:24:38.000Z (about 13 years ago)
- Last Synced: 2023-03-10T21:43:05.748Z (over 1 year ago)
- Language: Ruby
- Homepage:
- Size: 85.9 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cf-invalidator.rb
Simple tool to invalidate CloudFront paths. It's ruby based and uses the [fog gem](https://github.com/fog/fog).
## Usage
Invalidate a bunch of paths:
```$ cf-invalidator.rb -a ACCESS_KEY_ID -s SECRET_ACCESS_KEY -i CF_DISTRIBUTION_ID /assets/file-1.jpg /assets/file-2.jpg /assets/file-3.pdf```
Check what invalidation jobs exist:
```$ cf-invalidator.rb -a ACCESS_KEY_ID -s SECRET_ACCESS_KEY -i CF_DISTRIBUTION_ID```