From 07a13a88e9b6db7b4a04d3b2906712bf4ee849b1 Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Mon, 17 Jul 2023 11:46:51 +0100 Subject: [PATCH] fixed variable domain name --- infrastructure/terraform/modules/route53/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure/terraform/modules/route53/main.tf b/infrastructure/terraform/modules/route53/main.tf index 293dfc70..d40714fb 100644 --- a/infrastructure/terraform/modules/route53/main.tf +++ b/infrastructure/terraform/modules/route53/main.tf @@ -5,7 +5,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}"] + subject_alternative_names = ["*.${var.domain_name}"] validation_method = "DNS" tags = {