From 9e06fd037155057edb2915cd292648c204b99a9f Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Mon, 17 Jul 2023 12:16:01 +0100 Subject: [PATCH] successfully created and verified dns --- infrastructure/terraform/modules/route53/main.tf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/infrastructure/terraform/modules/route53/main.tf b/infrastructure/terraform/modules/route53/main.tf index d40714fb..c82768d7 100644 --- a/infrastructure/terraform/modules/route53/main.tf +++ b/infrastructure/terraform/modules/route53/main.tf @@ -4,8 +4,7 @@ resource "aws_route53_zone" "my_hosted_zone" { # Request an SSL certificate for the domain resource "aws_acm_certificate" "my_certificate_request" { - domain_name = var.domain_name - subject_alternative_names = ["*.${var.domain_name}"] + domain_name = "*.${var.domain_name}" validation_method = "DNS" tags = {