Add mailcow to terraform

This commit is contained in:
Tobias Reisinger 2024-10-29 22:43:05 +01:00
parent d73462cd90
commit f20b2596d0
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
18 changed files with 135 additions and 35 deletions

View file

@ -33,6 +33,10 @@ terraform {
source = "goauthentik/authentik"
version = "~> 2024.8.0"
}
mailcow = {
source = "l-with/mailcow"
version = "~> 0.7.5"
}
postgresql = {
source = "cyrilgdn/postgresql"
version = "~> 1.23.0"
@ -132,6 +136,11 @@ provider "authentik" {
token = var.authentik_token
}
provider "mailcow" {
host_name = var.mailcow_host_name
api_key = var.mailcow_api_key
}
provider "postgresql" {
host = var.postgresql_host
port = var.postgresql_port