https://github.com/baltimore-sun-data/boreas
CloudFront invalidator
https://github.com/baltimore-sun-data/boreas
aws cache-invalidation cloud cloudfront go golang
Last synced: about 2 months ago
JSON representation
CloudFront invalidator
- Host: GitHub
- URL: https://github.com/baltimore-sun-data/boreas
- Owner: baltimore-sun-data
- License: mit
- Created: 2018-02-15T17:23:34.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-03-31T19:50:10.000Z (about 5 years ago)
- Last Synced: 2024-12-30T04:52:09.695Z (over 1 year ago)
- Topics: aws, cache-invalidation, cloud, cloudfront, go, golang
- Language: Go
- Size: 13.7 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Boreas [](https://godoc.org/github.com/baltimore-sun-data/boreas) [](https://goreportcard.com/report/github.com/baltimore-sun-data/boreas) [](https://travis-ci.org/baltimore-sun-data/boreas)
Boreas is a CloudFront invalidator. It is named after [the Greek god of the North Wind](https://en.wikipedia.org/wiki/Anemoi#Boreas), who blows all the clouds away.
## Installation
First install [Go](http://golang.org).
If you just want to install the binary to your current directory and don't care about the source code, run
```bash
GOBIN="$(pwd)" GOPATH="$(mktemp -d)" go get github.com/baltimore-sun-data/boreas
```
## Screenshots
```bash
$ boreas -h
Usage of boreas:
boreas [options] ...
Invalidation path defaults to '/*'.
AWS credentials taken from ~/.aws/ or from "AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", and other AWS
configuration environment variables.
Options:
-dist string
CloudFront distribution ID
-ref string
CloudFront 'CallerReference', a unique identifier for this invalidation request. (default: Unix timestamp)
-wait duration
Time out to wait for invalidation to complete. Set to 0 to exit without waiting. (default 10m0s)
$ boreas -dist EABC123EFG4567
2018/02/15 14:35:43 Invalidation ID: "IQ2JXQ53AYXGBB"
Invalidating...................
```