Add rest of database services to terraform

This commit is contained in:
Tobias Reisinger 2024-09-28 22:43:47 +02:00
parent 1831cddffa
commit d0388ef6d6
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
7 changed files with 80 additions and 21 deletions
roles/synapse/vars

View file

@ -19,9 +19,9 @@ synapse_svc:
port: 8008
db:
host: "{{ postgres.host }}"
database: synapse
user: "{{ vault_synapse.db.user }}"
pass: "{{ vault_synapse.db.pass }}"
user: "{{ opentofu.postgresql_data.synapse.user }}"
pass: "{{ opentofu.postgresql_data.synapse.pass }}"
database: "{{ opentofu.postgresql_data.synapse.database }}"
config_path: config
synapse_env:
@ -80,9 +80,9 @@ synapse_yml:
oidc_providers:
- idp_id: auth_serguzim_me
idp_name: auth.serguzim.me
issuer: https://auth.serguzim.me/application/o/matrix_serguzim_me/
client_id: "{{ vault_synapse.oidc_client.id }}"
client_secret: "{{ vault_synapse.oidc_client.secret }}"
issuer: "{{ opentofu.authentik_data.synapse.base_url }}"
client_id: "{{ opentofu.authentik_data.synapse.client_id }}"
client_secret: "{{ opentofu.authentik_data.synapse.client_secret }}"
scopes:
- openid
- profile