Terramate Global Variables (globals)

From wikieduonline
Jump to navigation Jump to search

globals { (tm.io)

Official example[edit]

globals {
  <variable-name> = <expression>
}


Other examples[edit]

globals "queues" "catalog_search_service" {
 name                       = "catalog-search-service"
 topic                      = "main"
 visibility_timeout_seconds = 600
 message_retention_seconds  = 259200 # 72 hours
}

Examples[edit]

global.
globals "terraform" {
  version = ">= 1.10.1, < 1.11.0"
}

Related[edit]

globals.tm.hcl
stack.tm.hcl
main.tm.hcl
data.tm.hcl

See also[edit]

Advertising: