Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting enable_external_dns to true causes error #761

Closed
1 task done
shawn-motley-dexcare opened this issue Jul 11, 2022 · 4 comments
Closed
1 task done

Setting enable_external_dns to true causes error #761

shawn-motley-dexcare opened this issue Jul 11, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@shawn-motley-dexcare
Copy link

shawn-motley-dexcare commented Jul 11, 2022

Welcome to Amazon EKS Blueprints!

  • Yes, I've searched similar issues on GitHub and didn't find any.

Amazon EKS Blueprints Release version

4.4.0

What is your environment, configuration and the example used?

module "k8s_addons" {
source = "github.com/aws-ia/terraform-aws-eks-blueprints//modules/kubernetes-addons?ref=v4.4.0"

eks_cluster_id = data.aws_eks_cluster.region_main.id

K8s

enable_external_dns = true
}

What did you do and What did you see instead?

when setting the bool
enable_external_dns = true

Error: Either name or zone_id must be set

│ with module.k8s_addons.module.external_dns[0].data.aws_route53_zone.selected,
│ on .terraform/modules/k8s_addons/modules/kubernetes-addons/external-dns/data.tf line 1, in data "aws_route53_zone" "selected":
│ 1: data "aws_route53_zone" "selected" {

Additional Information

No response

@shawn-motley-dexcare shawn-motley-dexcare added the bug Something isn't working label Jul 11, 2022
@askulkarni2
Copy link
Contributor

Hi @shawn-motley-dexcare, you will need to pass a value for eks_cluster_domain which is expected by the add-on as shown in this example.

@bryantbiggs
Copy link
Contributor

closing with answer provided above

@ecoupal-believe
Copy link

ecoupal-believe commented Apr 7, 2023

@bryantbiggs
Copy link
Contributor

this has been resolved here aws-ia/terraform-aws-eks-blueprints-addons#101

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants