Skip to main content

Authress Terraform provider

Terraform Provider​

Authress supports a first-class Terraform provider to automatically configure Authress from Terraform. The source of provider is available on GitHub.

GitHub Workflow Forums Terraform

Prerequisites​

Since terraform is usually configured and deployed through CI/CD automation, the necessary Authress credentials can be configured by following one of the Authress CI/CD guides. These guides make it easy to configure Authress credentials. Checkout the GitHub or GitLab documentation or jump to the Authress Management Portal to run the optimized quick start guide for CI/CD providers.

Usage​

Install the Authress terraform provider, and review the recommended usage in the Terraform documentation.

Terraform default configuration for Authress
terraform {
required_providers {
authress = {
source = "authress/authress"
}
}
}

provider "authress" {
# Specify your Authress custom domain, configured at https://authress.io/app/#/settings?focus=domain
custom_domain = "https://auth.yourdomain.com"
}

See more details in the documentation for the Authress Terraform provider.