Skip to content

ministryofjustice/cloud-platform-terraform-certmanager

Repository files navigation

cloud-platform-terraform-certmanager

Terraform module that deploys cloud-platform certmanager

Usage

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

  cluster_domain_name = data.terraform_remote_state.cluster.outputs.cluster_domain_name
  hostzone            = terraform.workspace == local.live_workspace ? "*" : data.terraform_remote_state.cluster.outputs.hosted_zone_id
}

Inputs

Name Description Type Default Required
hostzone To solve ACME Challenges. Scope should be limited to hostzone. If star (*) is used certmanager will control all hostzones string yes
cluster_domain_name Value used for externalDNS annotations and certmanager string yes
eks_cluster_oidc_issuer_url The OIDC issuer URL from the cluster, it is used for IAM ServiceAccount integration string no

Outputs

Name Description
helm_certmanager_status This is an output used as a dependency (to know the prometheus-operator chart has been deployed)