Merge pull request #42 from Hestia-Homes/main

fixed variable domain name
This commit is contained in:
KhalimCK 2023-07-17 11:47:11 +01:00 committed by GitHub
commit 6a6fa39eb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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