fixed variable domain name

This commit is contained in:
Khalim Conn-Kowlessar 2023-07-17 11:46:51 +01:00
parent c2ab17dc3b
commit 07a13a88e9

View file

@ -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 = {