Terraform Defaults and Local: Revision history

From Federal Burro of Information
Jump to navigationJump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

28 February 2023

  • curprev 16:0616:06, 28 February 2023David talk contribs 884 bytes +884 Created page with " Now you tfvars file can have only defaults for larger groups of vars. <pre> variable "liveness_default" { type = map default = { health_threshold = 1 interval = 5 logging = true path = "/health" timeout = 1 unhealth_threshold = 2 } } variable "liveness" { type = map default = {} } locals { liveness = merge(var.liveness_default, var.liveness) } resource google_liveness_thing..."