module.dns.data.aws_route53_zone.tectonic: data.aws_route53_zone.tectonic: Either name or zone_id must be set



  • If you see this error when building a tectonic cluster using terraform.

    $ terraform plan -var-file=build/${CLUSTER}/terraform.tfvars platforms/aws
    ...
    ...
    ...
    module.dns.data.aws_route53_zone.tectonic: data.aws_route53_zone.tectonic: Either name or zone_id must be set
    

    In your build file, build/${CLUSTER}/terraform.tfvars, there's a variable for DNS, tectonic_base_domain, ensure that is set, as per the notes in the build file.

    // The base DNS domain of the cluster. It must NOT contain a trailing period. Some
    // To use Azure-provided DNS, `tectonic_base_domain` should be set to `""`
    // If using DNS records, ensure that `tectonic_base_domain` is set to a properly configured external DNS zone.
    // Instructions for configuring delegated domains for Azure DNS can be found here: https://docs.microsoft.com/en-us/azure/dns/dns-delegate-domain-azure-dns
    tectonic_base_domain = ""
    

Log in to reply
 

© Lightnetics 2024