Skip to content

Instantly share code, notes, and snippets.

@dwmkerr
Created December 12, 2018 03:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dwmkerr/8e4ca631723092ed69f4009cf70cd2c6 to your computer and use it in GitHub Desktop.
Save dwmkerr/8e4ca631723092ed69f4009cf70cd2c6 to your computer and use it in GitHub Desktop.
Notes on best practices for Terraform modules

(Disclaimer: work in progress!)

Consistent usage of count

Place count consistently in modules. count dramatically changes how a client will reason about a resource, so make it very clear what resources are dynamic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment