Something went wrong. Try again.
Tangled infrastructure definitions in Nix
Something went wrong. Try again.
836 B · 29 lines
at master
123456789101112131415161718192021222324252627282930variable "env" { type = object({ project = string region = string env_suffix = string lb = bool network_name = string registry_name = string registry_description = string registry_retention = object({ keep = number, days = number })
regions = map(object({ region = string subnet = string cidr = string ipv6_access_type = optional(string) }))
hostnames = optional(map(string), {})
services = map(object({ image = string public = bool env = map(string) secrets = optional(map(string), {}) })) }) description = "one modules/envs entry, its services carrying the image ref to run; the regions key set is the cell set"}