Skip to content

ministryofjustice/cloud-platform-terraform-external-dns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cloud-platform-terraform-external-dns

Terraform module that deploys cloud-platform external-dns.

Usage

module "external_dns" {
  source = "github.com/ministryofjustice/cloud-platform-terraform-external-dns?ref=1.0.2"

  cluster_domain_name = data.terraform_remote_state.cluster.outputs.cluster_domain_name
  hostzone            = lookup(var.cluster_r53_resource_maps, terraform.workspace, [data.aws_route53_zone.selected.zone_id])
  eks_cluster_oidc_issuer_url = data.terraform_remote_state.cluster.outputs.cluster_oidc_issuer_url
}

Requirements

Name Version
terraform >= 1.2.5
aws >=4.24.0
helm >=2.6.0
kubectl >=1.13.2

Providers

Name Version
aws >=4.24.0
helm >=2.6.0
kubectl >=1.13.2

Modules

Name Source Version
iam_assumable_role_admin terraform-aws-modules/iam/aws//modules/iam-assumable-role-with-oidc 3.13.0

Resources

Name Type
aws_iam_policy.external_dns resource
helm_release.external_dns resource
kubectl_manifest.test resource
aws_iam_policy_document.external_dns_irsa data source

Inputs

Name Description Type Default Required
cluster_domain_name The cluster domain used for externalDNS any n/a yes
domain_filters n/a list(string) n/a yes
eks_cluster_oidc_issuer_url This is going to be used when we create the IAM OIDC role string "" no
hostzones n/a list(string) n/a yes

Outputs

No outputs.

Requirements

Name Version
terraform >= 1.2.5
aws >=4.24.0
helm >=2.6.0

Providers

Name Version
aws >=4.24.0
helm >=2.6.0

Modules

Name Source Version
iam_assumable_role_admin terraform-aws-modules/iam/aws//modules/iam-assumable-role-with-oidc 3.13.0

Resources

Name Type
aws_iam_policy.external_dns resource
helm_release.external_dns resource
aws_iam_policy_document.external_dns_irsa data source

Inputs

Name Description Type Default Required
cluster_domain_name The cluster domain used for externalDNS any n/a yes
domain_filters n/a list(string) n/a yes
eks_cluster_oidc_issuer_url This is going to be used when we create the IAM OIDC role string "" no
hostzones n/a list(string) n/a yes
is_live_cluster For assigning chart values based on the cluster type bool true no

Outputs

No outputs.