Terraform module that deploys cloud-platform external-dns.
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
}
Name | Version |
---|---|
terraform | >= 1.2.5 |
aws | >=4.24.0 |
helm | >=2.6.0 |
kubectl | >=1.13.2 |
Name | Version |
---|---|
aws | >=4.24.0 |
helm | >=2.6.0 |
kubectl | >=1.13.2 |
Name | Source | Version |
---|---|---|
iam_assumable_role_admin | terraform-aws-modules/iam/aws//modules/iam-assumable-role-with-oidc | 3.13.0 |
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 |
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 |
No outputs.
Name | Version |
---|---|
terraform | >= 1.2.5 |
aws | >=4.24.0 |
helm | >=2.6.0 |
Name | Version |
---|---|
aws | >=4.24.0 |
helm | >=2.6.0 |
Name | Source | Version |
---|---|---|
iam_assumable_role_admin | terraform-aws-modules/iam/aws//modules/iam-assumable-role-with-oidc | 3.13.0 |
Name | Type |
---|---|
aws_iam_policy.external_dns | resource |
helm_release.external_dns | resource |
aws_iam_policy_document.external_dns_irsa | data source |
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 |
No outputs.