thazelart / cookiecutter-terraform-gcp-module

Cookiecutter template for Terraform GCP module with terratest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cookiecutter-terraform-gcp-module

Cookiecutter template to create Terraform modules.

Usage

$ pip install cookiecutter
$ cookiecutter https://github.com/thazelart/cookiecutter-terraform-gcp-module.git

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

Output

A basic terraform module with example and test

└── tf-mod-name
    ├── examples
    │   └── default_example
    │       ├── backend.tf
    │       ├── main.tf
    │       ├── provider.tf
    │       └── variables.tf
    ├── test
    │   └── simple_example_test.go
    ├── CHANGELOG.md
    ├── LICENSE
    ├── main.tf
    ├── outputs.tf
    ├── simple_example.tf
    └── variables.tf

To generate you documentation, update the main.tf, variables.tf and outputs.tf. Once done, please use terraform-docs

terraform-docs markdown tables . > README.mdcd

Authors

Thibault Hazelart

License

Aache 2.0

About

Cookiecutter template for Terraform GCP module with terratest

License:Apache License 2.0


Languages

Language:HCL 51.3%Language:Go 48.7%