add missing mailserver terraform items

This commit is contained in:
viktorbarzin 2021-02-18 22:26:36 +00:00
parent 40faa5dc0e
commit 2673c16d98
No known key found for this signature in database
GPG key ID: 0EB088298288D958
8 changed files with 339 additions and 8 deletions

View file

@ -3,6 +3,7 @@ variable "client_certificate_secret_name" {}
variable "hackmd_db_password" {}
variable "mailserver_accounts" {}
variable "mailserver_aliases" {}
variable "mailserver_opendkim_key" {}
variable "pihole_web_password" {}
variable "webhook_handler_secret" {}
variable "wireguard_wg_0_conf" {}
@ -25,8 +26,6 @@ resource "null_resource" "core_services" {
module "blog" {
source = "./blog"
tls_secret_name = var.tls_secret_name
tls_crt = var.tls_crt
tls_key = var.tls_key
# dockerhub_password = var.dockerhub_password
depends_on = [null_resource.core_services]
@ -94,8 +93,10 @@ module "k8s-dashboard" {
module "mailserver" {
source = "./mailserver"
tls_secret_name = var.tls_secret_name
mailserver_accounts = var.mailserver_accounts
postfix_account_aliases = var.mailserver_aliases
opendkim_key = var.mailserver_opendkim_key
depends_on = [null_resource.core_services]
}