Skip to content

Terraform auth0 module used for Kubernetes Clusters and their components

License

Notifications You must be signed in to change notification settings

ministryofjustice/cloud-platform-terraform-auth0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cloud-platform-terraform-auth0

Terraform module that creates the auth0 clients for the Kubernetes server and its components

Usage

module "auth0" {
  source = "github.com/ministryofjustice/cloud-platform-terraform-auth0?ref=0.0.1"

  cluster_name         = local.cluster_name
  services_base_domain = local.services_base_domain
  services_eks_domain  = local.services_eks_domain
}

Requirements

Name Version
terraform >= 0.13

Providers

Name Version
auth0 n/a

Modules

No Modules.

Resources

Name
auth0_client

Inputs

Name Description Type Default Required
cluster_name Kubernetes cluster name - used to name (id) the auth0 resources any n/a yes
extra_callbacks Extra callbacks URLs that can be added to the auth0 application - e.g: concourse, sonarqube, etc list(any)
[
""
]
no
services_base_domain Base domain to be used for the callbacks URLs any n/a yes

Outputs

Name Description
oidc_components_client_id Components OIDC Client ID
oidc_components_client_secret Components OIDC Client Secret
oidc_kubernetes_client_id Kubernetes OIDC Client ID
oidc_kubernetes_client_secret Kubernetes OIDC Client Secret

Requirements

Name Version
terraform >= 1.2.5
auth0 >=0.27.0

Providers

Name Version
auth0 >=0.27.0

Modules

No modules.

Resources

Name Type
auth0_client.components resource
auth0_client.kubernetes resource
auth0_client.components data source
auth0_client.kubernetes data source

Inputs

Name Description Type Default Required
cluster_name Kubernetes cluster name - used to name (id) the auth0 resources any n/a yes
extra_callbacks Extra callbacks URLs that can be added to the auth0 application - e.g: concourse, sonarqube, etc list(any)
[
""
]
no
services_base_domain Base domain to be used for the callbacks URLs any n/a yes

Outputs

Name Description
oidc_components_client_id Components OIDC Client ID
oidc_components_client_secret Components OIDC Client Secret
oidc_kubernetes_client_id Kubernetes OIDC Client ID
oidc_kubernetes_client_secret Kubernetes OIDC Client Secret