2024-09-29 23:22:03 +00:00
|
|
|
terraform {
|
|
|
|
required_providers {
|
|
|
|
authentik = {
|
|
|
|
source = "goauthentik/authentik"
|
|
|
|
version = "~> 2024.8.0"
|
|
|
|
}
|
2024-10-29 21:43:05 +00:00
|
|
|
mailcow = {
|
|
|
|
source = "l-with/mailcow"
|
|
|
|
version = "~> 0.7.5"
|
|
|
|
}
|
2024-09-29 23:22:03 +00:00
|
|
|
postgresql = {
|
|
|
|
source = "cyrilgdn/postgresql"
|
|
|
|
version = "~> 1.23.0"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
locals {
|
|
|
|
services_auth = {for key, val in var.services : key => val if val.auth}
|
|
|
|
services_database = {for key, val in var.services : key => val if val.database}
|
|
|
|
services_s3 = {for key, val in var.services : key => val if val.s3}
|
2024-10-29 21:43:05 +00:00
|
|
|
services_mail = {for key, val in var.services : key => val if val.mail != null}
|
2024-09-29 23:22:03 +00:00
|
|
|
}
|