# interface between the TF module and the caller # TODO: (partially) generate, say from nix modules, c.f. #275 variable "domain" { type = string default = "fediversity.net" } variable "garage" { type = object({ target = optional(string, "test01.abundos.eu") nix_module = optional(string, "../infra/test-machines/test01") }) default = {} } variable "mastodon" { type = object({ enable = optional(bool, false) target = optional(string, "test06.abundos.eu") nix_module = optional(string, "../infra/test-machines/test06") }) default = {} } variable "pixelfed" { type = object({ enable = optional(bool, false) target = optional(string, "test04.abundos.eu") nix_module = optional(string, "../infra/test-machines/test04") }) default = {} } variable "peertube" { type = object({ enable = optional(bool, false) target = optional(string, "test05.abundos.eu") nix_module = optional(string, "../infra/test-machines/test05") }) default = {} } variable "initialUser" { type = object({ displayName = string username = string email = string # TODO: mark (nested) credentials as sensitive # https://discuss.hashicorp.com/t/is-it-possible-to-mark-an-attribute-of-an-object-as-sensitive/24649/2 password = string }) # FIXME: remove default when the form provides this value, see #285 default = { displayName = "Testy McTestface" username = "test" email = "test@test.com" password = "testtest" } }