cfn-bridge
A bridge to allow you to build custom AWS cloud formation resources.
Check Amazon's page on custom cloud formation resources to get more info on how and why you would like to have them.
Installation
Add this line to your application's Gemfile:
gem 'cfn-bridge'
And then execute:
$ bundle
Or install it yourself as:
$ gem install cfn-bridge
Usage
Run:
$ cfn-bridge start QUEUE_NAME
This will start a worker consuming from QUEUE_NAME until the caller calls CTRL-C to stop it. QUEUE_NAME should be the SQS queue to where the SNS topic is publishing the custom resource messages. An example template that setups the topic and the queue is available at the repo and can be used to provide the base topic and queue to use this application.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request