Skip to content
👩 Lita plugin for AWS CloudFront
Ruby HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
lib
locales
spec
templates
.rspec
.rubocop.yml
.rubocop_todo.yml
.ruby-version
CODE_OF_CONDUCT.md
Gemfile
Gemfile.lock
Guardfile
LICENSE.txt
README.md
Rakefile
lita-aws-cloudfront.gemspec

README.md

lita-aws-cloudfront

Gem Version Circle CI Code Climate codecov Libraries.io dependency status for GitHub repo GitHub

lita-aws-cloudfront allows you to manage AWS CloudFront by commands.

Installation

Add lita-aws-cloudfront to your Lita instance's Gemfile:

gem "lita-aws-cloudfront"

Configuration

Set environment variables below.

AWS_REGION=us-east-1
AWS_ACCESS_KEY_ID=xxxx
AWS_SECRET_ACCESS_KEY=xxxx

or use config

Lita.config.handlers.aws_cloudfront.aws_region = 'us-east-1'
Lita.config.handlers.aws_cloudfront.aws_access_key_id = 'xxxx'
Lita.config.handlers.aws_cloudfront.aws_secret_access_key = 'xxxx'

Usage

lita cloudfront distributions
lita cloudfront invalidations ${distribution_id}
lita cloudfront invalidate ${distribution_id} ${path or '/*' if path is empty} 

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/unhappychoice/lita-aws-cloudfront. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Lita::AWS::CloudFront project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

You can’t perform that action at this time.