Skip to content

Commit 6077e2d

Browse files
committed
tf check error fixed
1 parent 6d7d59b commit 6077e2d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

_example/generate-certificate-dns/example.tf

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ provider "aws" {
22
region = "eu-west-1"
33
}
44

5+
locals {
6+
domain = "clouddrove.com"
7+
}
8+
59
##-----------------------------------------------------------------------------
610
## acm Module call with DNS.
711
##-----------------------------------------------------------------------------
@@ -12,5 +16,5 @@ module "acm" {
1216
environment = "test"
1317

1418
domain_name = "clouddrove.com"
15-
subject_alternative_names = ["*.${var.domain}", "www.${var.domain}"]
19+
subject_alternative_names = ["*.${local.domain}", "www.${local.domain}"]
1620
}

0 commit comments

Comments
 (0)