Skip to content
This repository was archived by the owner on Apr 15, 2025. It is now read-only.
jharrelsPublic archive

About

Perses is an AWS CloudFront invalidation tool which can invalidate cache and query ongoing invalidations.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Perses is a CloudFront invalidator. It is named after the Greek titan god of the Destruction.

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

GOBIN="$(pwd)" GOPATH="$(mktemp -d)" go get github.com/jharrels/perses

Usage

$ perses -h
Usage of Perses:

    perses [options] <invalidation path>...

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
  -query string
        ClooudFront invalidation ID
  -ref string
        CloudFront 'CallerReference', a unique identifier for this invalidation request. (default: Unix timestamp)


$ perses -dist EABC123EFG4567
2019/04/19 14:35:43 Invalidation ID: "IQ2JXQ53AYXGBB"

About

Perses is an AWS CloudFront invalidation tool which can invalidate cache and query ongoing invalidations.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages