Packer HCL2 Template Validation vs Runtime DNS Resolution in Multi-Network Builders
DNS Resolution Timing in Packer HCL2 Templates When configuring Packer templates with multiple network interfaces or custom DNS settings, there is an unresolved question about when DNS resolution occurs relative to template validation and builder initialization. The HCL2 syntax allows defining custom DNS servers through builder configurations like dns_server