Move terraform files into modules
This commit is contained in:
parent
4e495dbc51
commit
bae9fe9e0f
14 changed files with 286 additions and 104 deletions
modules/services
33
modules/services/variables.tf
Normal file
33
modules/services/variables.tf
Normal file
|
@ -0,0 +1,33 @@
|
|||
variable "authentik_url" {
|
||||
}
|
||||
|
||||
variable "authentik_token" {
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
|
||||
variable "postgresql_host" {
|
||||
}
|
||||
|
||||
variable "postgresql_port" {
|
||||
}
|
||||
|
||||
variable "postgresql_username" {
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
variable "postgresql_password" {
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
|
||||
variable "services" {
|
||||
type = map(object({
|
||||
name = string
|
||||
subdomain = string
|
||||
auth = bool
|
||||
auth_redirects = optional(list(string))
|
||||
s3 = bool
|
||||
database = bool
|
||||
}))
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue