A fully generic, modular DSL for AWS CloudFormation
This gem aims to provide a reusable model for AWS CloudFormation in Ruby. It exposes a DSL for template definition, and a simple, decoupled abstraction of a CloudFormation Stack to compile and apply templates.
NOTE: This GitHub Pages site is a work in progress. Currently the Convection contributors are testing a variety of documentation tools. The latest being viewdocs.io. Check out our viewdocs.io page at rapid7.viewdocs.io/convection for more information around Convection.
Please read our Contributing guidelines for more information on contributing to Convection.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install convection
- To converge all stacks in your cloudfile run
convection converge. If you provide the name of your stack as a additional argument such as
convection converge my-stack-namethen all stacks above and including the stack you specified will be converged.
- To display diff between your local changes and the version of your stack in cloud formation of your changes run
- To print out a list of available cli options with their descriptions run
- To print out the cloud formation template for a specific stack run
convection print my-stack-name.
- To validate your stack is not missing a required resource run
convection validate my-stack-name.
We highly recommend consulting the getting started guide for a in depth walk through on how to to set up your project and create and deploy a stack. Example stacks and resources are available in the convection/example folder
Copyright (c) 2015 John Manero, Rapid7 LLC.
MIT License =========== Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.