hnrkndrssn / aws-cloudfront-invalidation-buildkite-plugin

A Buildkite plugin that invalidates AWS Cloudfront caches.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AWS Cloudfront Invalidation Buildkite Plugin

tests MIT License

A Buildkite plugin that invalidates AWS Cloudfront caches.

Example

steps:
  - plugins:
      - envato/aws-cloudfront-invalidation#v0.1.0:
          distribution-id: <cloudfront-distribution-id>
          paths:
            - <path/files/to/be/invalidated>

Configuration

distribution-id

The id of the Cloudfront distribution to create an invalidation for.

paths

One or more invalidation paths.

Development

To run the tests:

docker-compose run --rm tests

To run the Buildkite Plugin Linter:

docker-compose run --rm lint

About

A Buildkite plugin that invalidates AWS Cloudfront caches.

License:MIT License


Languages

Language:Shell 100.0%