/cookiecutter-tf-workspace

Cookiecutter template for creating Terraform Workspaces.

Primary LanguageGo

pre-commit

cookiecutter-tf-workspace

cookiecutter + terraform

Cookiecutter template for creating Terraform Workspaces.

Also checkout cookiecutter-tf-module.

Other documentation

Quickstart

$ pip install cookiecutter
$ cookiecutter git@github.com:aidanmelen/cookiecutter-tf-workspace.git
$ cd [tf_WORKSPACE]
$ make

You will be prompted for basic info (your name, workspace name, etc.) which will be used in the template.

This will create the following:

terraform-workspace-example
├── Makefile
├── README.md
├── docs
│   └── developer-notes.md
├── main.tf
├── outputs.tf
├── provider.tf
├── tests
└── variables.tf

That's all you need to get started.

Test

$ make test
cookiecutter ./ --overwrite-if-exists --no-input --output-dir ./test/

Credits