Skip to content

Commit

Permalink
tf(keycloak): unquote variables in config files
Browse files Browse the repository at this point in the history
When variables are quoted, Keycloak fails to start probably because
it consider the " symbol as part of the value
  • Loading branch information
giovannibaratta committed Mar 23, 2024
1 parent 44e5faa commit 7158f46
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions terraform/modules/keycloak/files/keycloak.conf.j2
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Database configuration
db=postgres
db-username=keycloak
db-password="{{ keycloak_db_password }}"
db-password={{ keycloak_db_password }}

# Hostname for the Keycloak server.
hostname-url=https://{{ keycloak_fqdn }}
Expand All @@ -15,5 +15,5 @@ log-file=/var/log/keycloak/logs

# TLS configs
https-port=443
https-certificate-file="{{ keycloak_dir }}/tls/cert.pem"
https-certificate-key-file="{{ keycloak_dir }}/tls/key.pem"
https-certificate-file={{ keycloak_dir }}/tls/cert.pem
https-certificate-key-file={{ keycloak_dir }}/tls/key.pem
2 changes: 1 addition & 1 deletion terraform/modules/keycloak/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.4
0.0.5

0 comments on commit 7158f46

Please sign in to comment.