Skip to content

Instantly share code, notes, and snippets.

@josiahhaswell
Created February 22, 2021 22:02
Embed
What would you like to do?
main.tf DNS module definition
/**
Create DNS entries for virtual machines
*/
module "dns_configuration" {
for_each = var.cluster_nodes
source = "./dns"
dns_server = var.dns_server
hosts = each.value
api_dns = var.api_server
api_domain = var.domain
api_ip = var.load_balancer
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment