generator-ctptmplfirehose v1.3.0
generator-ctptemplates
A yeoman generator for AWS templates for Firehose.
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
The resulting folder-structure looks like this:
Prerequisites
Yeoman generator is a npm module, your machine should have Node and npm installed. Follow these links on how to install Node
, and npm is installed with Node.
You need to download the Generator to your local once you have done that kindly edit the "DestinationPath"
in the index.js file, such that you will be able to get your generated templates at the specified location.
Installation
Yeoman comes with npm
, so install it first and then call:
npm install -g yo
npm link
Once you have the package, you can generate the templates for Firehose using:
yo ctptemplates
Once you have your templates generated then you can go to the specific location and run:
aws cloudformation create-stack --stack-name {name of stack required by you} --template-body file://S3.yaml
aws cloudformation create-stack --stack-name {name of stack required by you} --template-body file://kinesis.yaml
aws cloudformation create-stack --stack-name {name of stack required by you} --template-body file://firehoserole.yaml --capabilities CAPABILITY_NAMED_IAM
aws cloudformation create-stack --stack-name {name of stack required by you} --template-body file://CloudwatchGroup.yaml
aws cloudformation create-stack --stack-name {name of stack required by you} --template-body file://cloudformationfirehose.yaml