This repository implements Infrastructure as Code (IaC) using OpenTofu to configure Keycloak and write OpenID client secrets to Hashicorp Vault.
Follow these instructions to set up the repository and start managing your Keycloak and Vault resources.
- OpenTofu
- Terragrunt
- Docker-compose
-
Clone the repository:
git clone https://github.com/soerenschneider/tf-keycloak.git cd tf-keycloak
-
Provisioning resources:
cd envs/dev bash run.sh
This repository utilizes Terratest for automated testing of OpenTofu modules and configurations.
- Running the tests:
$ make tests