terraform.aws-baseline-infra/modules/global-variables/README.md
2021-01-26 21:40:02 +08:00

605 B

global-variables module

This module provides global variables that can be used in all layers

Basic Usage

Variables are stored in a map in outputs.tf

module "global-variables" {
  source = "../../../../../../../../../terraform_modules_shared/global-variables"
}

// then retrieve global variable from the module. for example:
sys-sec-account = module.global-variables.vars.prod.sys-sec-acc

Inputs

Name Description Type Default Required

Outputs

Name Description
vars map of variables