We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d7d59b commit 6077e2dCopy full SHA for 6077e2d
_example/generate-certificate-dns/example.tf
@@ -2,6 +2,10 @@ provider "aws" {
2
region = "eu-west-1"
3
}
4
5
+locals {
6
+ domain = "clouddrove.com"
7
+}
8
+
9
##-----------------------------------------------------------------------------
10
## acm Module call with DNS.
11
@@ -12,5 +16,5 @@ module "acm" {
12
16
environment = "test"
13
17
14
18
domain_name = "clouddrove.com"
15
- subject_alternative_names = ["*.${var.domain}", "www.${var.domain}"]
19
+ subject_alternative_names = ["*.${local.domain}", "www.${local.domain}"]
20
0 commit comments