Skip to content

Ensono/stacks-terraform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Infrastructure libs

Holds all the libs used by stacks for insfrastructure bootstrapping and definitions.

In general it's best to avoid writing bootstrapping modules and prefer Docs sections with clearly described pre-requisites.

Terraform

Each module should contain an examples folder with at least 1 example on how to use + plus any extra creds step description. Especially important for Azure modules

Docs

Docs should be descriptive as to what it does and contain an Inputs, Outputs and Providers section. The recommended way to do that is to use this package

e.g.: terraform-docs markdown table path/to/my/module

Local testing

run and test any changes locally

docker run -v $(pwd):/usr/data --rm -it amidostacks/ci-tf:0.0.4 /bin/bash