about summary refs log tree commit diff
path: root/ops/keycloak/main.tf
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-09-20T09·21+0300
committertazjin <tazjin@tvl.su>2022-09-20T09·28+0000
commit3a1f4831a82b0f682b03032625c7c083ff20b603 (patch)
tree27e4fbdc875ea4f0845b99c0ffdd9a9b145370d3 /ops/keycloak/main.tf
parent61cce49a8a8ddb7b7c4783d08946091544305d5b (diff)
feat(ops/keycloak): add SMTP settings in configuration r/4929
I think these were set up in the UI and previously not supported in
the Terraform config, now they're supported and Terraform wanted to
delete them ...

Change-Id: I83eb49ceb774ac835dc81638f962e937c7e936c6
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6707
Tested-by: BuildkiteCI
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: lukegb <lukegb@tvl.fyi>
Diffstat (limited to 'ops/keycloak/main.tf')
-rw-r--r--ops/keycloak/main.tf10
1 files changed, 10 insertions, 0 deletions
diff --git a/ops/keycloak/main.tf b/ops/keycloak/main.tf
index 819267ff96c5..a8e2d82a3cd0 100644
--- a/ops/keycloak/main.tf
+++ b/ops/keycloak/main.tf
@@ -31,4 +31,14 @@ resource "keycloak_realm" "tvl" {
   enabled                     = true
   display_name                = "The Virus Lounge"
   default_signature_algorithm = "RS256"
+
+  smtp_server {
+    from              = "tvlbot@tazj.in"
+    from_display_name = "The Virus Lounge"
+    host              = "127.0.0.1"
+    port              = "25"
+    reply_to          = "depot@tazj.in"
+    ssl               = false
+    starttls          = false
+  }
 }