diff --git a/examples/dice-mojo/dns.tf b/examples/dice-mojo/dns.tf index f8c2a07..931281d 100644 --- a/examples/dice-mojo/dns.tf +++ b/examples/dice-mojo/dns.tf @@ -6,43 +6,3 @@ resource "aws_route53_record" "app" { ttl = "900" records = [aws_lb.app.dns_name] } - -# # add certificate creation with dns name -# resource "aws_acm_certificate" "app" { -# domain_name = local.app_alb_dns_name -# validation_method = "DNS" -# -# tags = merge( -# local.common_tags, -# var.application_tags, -# local.base_tags, -# ) -# -# lifecycle { -# create_before_destroy = true -# } -# } - -# # domain validation -# resource "aws_route53_record" "app_validate" { -# for_each = { -# for dvo in aws_acm_certificate.app.domain_validation_options : dvo.domain_name => { -# name = dvo.resource_record_name -# record = dvo.resource_record_value -# type = dvo.resource_record_type -# } -# } -# -# allow_overwrite = true -# name = each.value.name -# records = [each.value.record] -# ttl = 60 -# type = each.value.type -# zone_id = local.app_dns_zone_id -# } - -# resource "aws_acm_certificate_validation" "app" { -# certificate_arn = aws_acm_certificate.app.arn -# validation_record_fqdns = [for record in aws_route53_record.app_validate: record.fqdn] -# } -