Project

stax-lint

0.0
No release in over a year
Stax is a flexible set of ruby classes for cloudformation stacks: stax-lint adds support for linting tools.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0
>= 0
 Project Readme

stax-lint

Cloudformation stack linting tasks for stax.

Installation

Install the gem and add to the application's Gemfile by executing:

$ bundle add stax-lint

Require in Staxfile:

require 'stax/lint'

Linters

cfn-lint

Install cfn-lint from https://github.com/aws-cloudformation/cfn-python-lint, and run for any stack foo:

$ bundle exec stax foo lint

Run for all stacks in Staxfile:

$ bundle exec stax lint

checkov

Install checkov from https://www.checkov.io/, and run for any stack foo:

$ bundle exec stax foo checkov

Run for all stacks in Staxfile:

$ bundle exec stax checkov

Ref: checkov reference.

License

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