Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 8 days 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 6 years ago)
- Default Branch: master
- Last Pushed: 2021-03-31T19:50:10.000Z (over 3 years ago)
- Last Synced: 2024-06-20T13:30:28.635Z (5 months 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 [![GoDoc](https://godoc.org/github.com/baltimore-sun-data/boreas?status.svg)](https://godoc.org/github.com/baltimore-sun-data/boreas) [![Go Report Card](https://goreportcard.com/badge/github.com/baltimore-sun-data/boreas)](https://goreportcard.com/report/github.com/baltimore-sun-data/boreas) [![Build Status](https://travis-ci.org/baltimore-sun-data/boreas.svg?branch=master)](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...................
```