generator-terragrunt-terraform
v1.0.6
Published
A Yeoman Generator to generate a skeleton Terragrunt project and/or module
Downloads
2
Maintainers
Readme
generator-terragrunt-terraform
Installation
First, install Yeoman and generator-terragrunt-terraform using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-terragrunt-terraform
Usage
Generating a project
To generate a new Terragrunt project:
In the directory you want to initialize the project:
yo terragrunt-terraform
Generating a module
To generate a new Terragrunt module:
In the root directory of the Terragrunt project: (it is assumed that the project was generated using this generator):
yo terragrunt-terraform:module {{ module_name }}
In addition, you can specify the dependencies of the module using comma-separated module names:
yo terragrunt-terraform:module {{ module_name }} --moduleDependencies infrastructure,eks
License
MIT © Hung Luong