Tested against authentik main and stable, on terraform 1.2.1
Run the following command to build the provider
make build
Run make
from the project root to regenerate the latest provider documentation
Start a local authentik instance by following https://goauthentik.io/docs/installation/docker-compose
Before starting the instance, add this static token to the .env
file:
AUTHENTIK_TOKEN=this-password-is-for-testing-dont-use
Afterwards, tests can be run from your Editor or via CLI:
export TF_ACC=1
export AUTHENTIK_URL=http://localhost:9000
export AUTHENTIK_TOKEN=this-password-is-for-testing-dont-use
go test -timeout 30s ./... -count=1
This provider's version is based on the authentik version it's tested against.
Provider version 2021.8.1 is tested against 2021.8.x.
Provider version 2021.8.2 is tested against 2021.8.x but has some bugfixes.