/generator-terraform

Yeoman Generator for Terraform Modules

Primary LanguageJavaScriptApache License 2.0Apache-2.0

generator-terraform

This is a small Yeoman generator. It stubs out a simple Terraform module that is setup to test with Kitchen Terraform.

Requirements:

Using:

# Install the generator from remote github or from local branch
npm install git+https://git@github.com/newcontext-oss/generator-terraform.git

# local install
git clone https://github.com/newcontext/generator-terraform.git
cd generator-terraform
npm link

# Run the generator
yo terraform

# Install ruby pre-reqs
bundle install

# Test the module
bundle exec kitchen test