Created
February 22, 2021 22:02
-
-
Save josiahhaswell/4cb10b8e92d8d44b07b04c4de95af095 to your computer and use it in GitHub Desktop.
main.tf DNS module definition
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
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