dns.tf
resource "aws_route53_record" "main_private" {
count = length(var.dns_records_internal_hosted_zone) > 0 && var.associate_public_ip_address == true ? length(var.dns_records_internal_hosted_zone) : 0
zone_id = lookup(element(var.dns_records_internal_hosted_zone, count.index), "zone_id", null)
name = lookup(element(var.dns_records_internal_hosted_zone, count.index), "name", null)
Show more
<https://github.com/binbashar/terraform-aws-ec2-basic-layout|binbashar/terraform-aws-ec2-basic-layout>binbashar/terraform-aws-ec2-basic-layout | Added by GitHub
What?
Why?