From b1cc2e3ca40d3cd549aeabefb5c7ef515403a388 Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Mon, 17 Jul 2023 11:36:44 +0100 Subject: [PATCH] setting name, records and type on validation record --- infrastructure/terraform/modules/route53/main.tf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/infrastructure/terraform/modules/route53/main.tf b/infrastructure/terraform/modules/route53/main.tf index ad3f9fd1..700232dd 100644 --- a/infrastructure/terraform/modules/route53/main.tf +++ b/infrastructure/terraform/modules/route53/main.tf @@ -27,7 +27,9 @@ resource "aws_route53_record" "my_validation_record" { type = dvo.resource_record_type } } - + name = each.value.name + records = [each.value.record] + type = each.value.type ttl = 60 }