From d150b789a462670617b79691acf048d3a59533a7 Mon Sep 17 00:00:00 2001 From: Jordan Acosta Date: Tue, 26 Mar 2024 17:10:44 -0700 Subject: [PATCH] fix: use module path for files (#5) --- external-dns.tf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/external-dns.tf b/external-dns.tf index 9161951..ae41210 100644 --- a/external-dns.tf +++ b/external-dns.tf @@ -1,6 +1,6 @@ locals { internal_domain = aws_route53_zone.internal.name - public_domain = aws_route53_zone.public.name + public_domain = aws_route53_zone.public.name external_dns = { namespace = "external-dns" extra_args = { @@ -8,7 +8,7 @@ locals { 1 = "--zone-id-filter=${aws_route53_zone.internal.id}", 2 = "--zone-id-filter=${aws_route53_zone.public.id}", } - value_file = "values/external-dns.yaml" + value_file = "${path.module}/values/external-dns.yaml" } } @@ -75,7 +75,7 @@ resource "helm_release" "external_dns" { ] depends_on = [ - module.external_dns_irsa, - helm_release.metrics_server + module.external_dns_irsa, + helm_release.metrics_server ] }