cristim / terraform-aws-eks-external-dns

Terraform module for deploying External DNS inside a pre-existing EKS cluster.

Home Page:https://modules.dnx.one

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

terraform-aws-eks-external-dns

Lint Status LICENSE

Terraform module for deploying External DNS inside a pre-existing EKS cluster.

Usage

module "external_dns" {
  source = "git::https://github.com/DNXLabs/terraform-aws-eks-external-dns.git"

  cluster_name                     = module.eks_cluster.cluster_id
  cluster_identity_oidc_issuer     = module.eks_cluster.cluster_oidc_issuer_url
  cluster_identity_oidc_issuer_arn = module.eks_cluster.oidc_provider_arn

  settings = {
    "policy" = "sync" # Modify how DNS records are sychronized between sources and providers.
  }
}

Requirements

Name Version
terraform >= 0.13
aws >= 3.13, < 4.0
helm >= 1.0, < 3.0
kubernetes >= 1.10.0, < 3.0.0

Providers

Name Version
aws >= 3.13, < 4.0
helm >= 1.0, < 3.0
kubernetes >= 1.10.0, < 3.0.0

Inputs

Name Description Type Default Required
cluster_identity_oidc_issuer The OIDC Identity issuer for the cluster. string n/a yes
cluster_identity_oidc_issuer_arn The OIDC Identity issuer ARN for the cluster that can be used to associate IAM roles with a service account. string n/a yes
cluster_name The name of the cluster. string n/a yes
create_namespace Whether to create k8s namespace with name defined by namespace. bool true no
enabled Variable indicating whether deployment is enabled. bool true no
helm_chart_name Helm chart name to be installed. string "external-dns" no
helm_chart_version Version of the Helm chart. string "5.0.0" no
helm_release_name Helm release name. string "external-dns" no
helm_repo_url Helm repository. string "https://charts.bitnami.com/bitnami" no
mod_dependency Dependence variable binds all AWS resources allocated by this module, dependent modules reference this variable. any null no
namespace The Kubernetes namespace in which the external-dns service account has been created. string "kube-system" no
policy_allowed_zone_ids List of the Route53 zone ids for service account IAM role access. list(string)
[
"*"
]
no
service_account_name The Kubernetes external-dns service account name. string "external-dns" no
settings Additional settings which will be passed to the Helm chart values, see https://github.com/bitnami/charts/tree/master/bitnami/external-dns#parameters. map {} no

Outputs

No output.

Authors

Module managed by DNX Solutions.

License

Apache 2 Licensed. See LICENSE for full details.

About

Terraform module for deploying External DNS inside a pre-existing EKS cluster.

https://modules.dnx.one

License:Apache License 2.0


Languages

Language:HCL 100.0%