bregman-arie / terraform-toolbox

NSY

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Terraform Toolbox

Scripts

Snippets

AWS

Module

  • Keep them in one centralized repository (to not update/fix every in every repository you store them)

  • Use tags when referencing modules. This will ensure that if one the modules is being updated, you'd still use the same version instead which leads to stability and more predictable path

  • Reference module:

module "code_src" {
  source = "git::https://ADDRESS/orgName/_git/Modules/@Terraform_Modules/some_module?ref=~{ref}~"
}
  • Reference module with specific tag:
module "code_src" {
  source = "git::https://ADDRESS/orgName/_git/Modules/@Terraform_Modules/some_module?ref=V0.1.7"
}

About

NSY

License:Apache License 2.0


Languages

Language:HCL 68.1%Language:Python 27.9%Language:Makefile 3.3%Language:Shell 0.7%