gruntwork-io / boilerplate

A tool for generating files and folders ("boilerplate") from a set of templates
https://www.gruntwork.io
183 stars 16 forks source link

Add support for hooks #28

Closed brikis98 closed 7 years ago

brikis98 commented 7 years ago

This PR adds the idea of hooks to boilerplate. A hook is an arbitrary shell command for Boilerplate to execute at specific times. Currently, two types of hooks are supported:

Other hooks may be added in the future.

The motivating use cases for this are:

  1. Create the initial IAM permissions in usage-patterns before generating a full stack for a new client.
  2. Run terragrunt spin-up automatically after the full stack has been generated.
brikis98 commented 7 years ago

@josh-padnick I'm going to merge this so I can start using it. Feedback welcome!