项目作者: baltimore-sun-data

项目描述 :
CloudFront invalidator
高级语言: Go
项目地址: git://github.com/baltimore-sun-data/boreas.git
创建时间: 2018-02-15T17:23:34Z
项目社区:https://github.com/baltimore-sun-data/boreas

开源协议:MIT License

下载


Boreas GoDoc Go Report Card Build Status

Boreas is a CloudFront invalidator. It is named after the Greek god of the North Wind, who blows all the clouds away.

Installation

First install Go.

If you just want to install the binary to your current directory and don’t care about the source code, run

  1. GOBIN="$(pwd)" GOPATH="$(mktemp -d)" go get github.com/baltimore-sun-data/boreas

Screenshots

  1. $ boreas -h
  2. Usage of boreas:
  3. boreas [options] <invalidation path>...
  4. Invalidation path defaults to '/*'.
  5. AWS credentials taken from ~/.aws/ or from "AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", and other AWS
  6. configuration environment variables.
  7. Options:
  8. -dist string
  9. CloudFront distribution ID
  10. -ref string
  11. CloudFront 'CallerReference', a unique identifier for this invalidation request. (default: Unix timestamp)
  12. -wait duration
  13. Time out to wait for invalidation to complete. Set to 0 to exit without waiting. (default 10m0s)
  14. $ boreas -dist EABC123EFG4567
  15. 2018/02/15 14:35:43 Invalidation ID: "IQ2JXQ53AYXGBB"
  16. Invalidating...................